Commit Graph

  • 6a603841d2 Add limits.hpp to reference Peter Dimov 2023-02-09 01:42:16 +02:00
  • ecbf043f82 Add floating point from_chars check to test/limits.cpp Peter Dimov 2023-02-09 01:29:58 +02:00
  • ccbae48c1a Add integral from_chars check to test/limits.cpp Peter Dimov 2023-02-09 01:28:02 +02:00
  • 89107b55a8 Change limits<T> and update test/limits.cpp to test it Peter Dimov 2023-02-09 01:19:43 +02:00
  • 8b9fde63cb Update reference section feature/reference Peter Dimov 2023-02-08 22:14:27 +02:00
  • ae368af252 Use existing decomposition methods so function can be constexpr Matt Borland 2023-02-08 11:48:26 -08:00
  • 2f898f5146 Add macos-12 to GHA Peter Dimov 2023-02-08 21:43:01 +02:00
  • 66d2acaa13 Add missing inlines Peter Dimov 2023-02-08 21:36:35 +02:00
  • 919a92255f Output more information on floating point failure Peter Dimov 2023-02-08 21:33:27 +02:00
  • ee8a376f82 Add missing include Peter Dimov 2023-02-08 21:26:16 +02:00
  • da25d61248 Activate float/double tests in roundtrip.cpp; add stub implementations of from_chars and to_chars to make them pass Peter Dimov 2023-02-08 21:21:28 +02:00
  • f476f9c39c Update test/roundtrip.cpp Peter Dimov 2023-02-08 20:57:08 +02:00
  • ecd8ddb709 Add limits specialization Matt Borland 2023-02-08 10:39:44 -08:00
  • 7671580028 Improve macros Matt Borland 2023-02-08 10:11:53 -08:00
  • d1fc7b4e60 Implementation for 128-bit ints Matt Borland 2023-02-08 09:50:36 -08:00
  • 21dc84cafd Add test for 128-bit type Matt Borland 2023-02-07 11:55:29 -08:00
  • c23b833678 Merge pull request #13 from mborland/limits Matt Borland 2023-02-07 10:58:59 -08:00
  • 930e0d0dd5 Fix warning C4018: '>=': signed/unsigned mismatch Matt Borland 2023-02-07 10:01:20 -08:00
  • 280692cc86 Change to function notation for pre C++17 Matt Borland 2023-02-07 09:42:23 -08:00
  • 2c4e7966bc Add limits definitions Matt Borland 2023-02-07 09:17:21 -08:00
  • 24a3173e64 Merge pull request #12 from mborland/benchmarks Matt Borland 2023-02-06 10:25:27 -08:00
  • 353ac463a6 Delete binary file Matt Borland 2023-02-06 10:08:29 -08:00
  • 1565bd16a1 Fix spelling of charconv Matt Borland 2023-02-06 10:08:17 -08:00
  • a98a53e87a Merge pull request #10 from mborland/to_chars_int Matt Borland 2023-02-06 10:06:41 -08:00
  • 13dd7d1026 Workaround for GCC11 Matt Borland 2023-02-06 08:54:48 -08:00
  • d46e8fc7a9 Remove HTML Matt Borland 2023-02-03 11:54:45 -08:00
  • 7934db5eb1 Ignore GCC10+ memcpy overflow warning Matt Borland 2023-02-03 10:56:49 -08:00
  • c9376c89bf Disable random 8-bit int tests on MSVC Matt Borland 2023-02-03 09:29:56 -08:00
  • c71084d46d Add literal to fix MSVC test errors Matt Borland 2023-02-03 09:05:52 -08:00
  • a27c11a3d4 Fix sign comparison Matt Borland 2023-02-02 12:09:17 -08:00
  • aa13c62ce6 Fix 8 and 16 bit overflows Matt Borland 2023-02-02 11:52:02 -08:00
  • 6759a4216a Add more fixed width integers Matt Borland 2023-02-02 09:35:27 -08:00
  • a111b5c2bd Add stress test and used fixed seed on CI random tests Matt Borland 2023-02-02 09:21:45 -08:00
  • 373954a4a8 Revert decompose32 mask change Matt Borland 2023-02-02 08:54:49 -08:00
  • a8991a3c26 Add tests with random numbers and fixed bases Matt Borland 2023-02-02 08:32:05 -08:00
  • fb69333f62 Sign is accounted for by shifting first Matt Borland 2023-02-01 16:09:48 -08:00
  • a8c8cb73f1 Simplify is_constant_evaluated_macro Matt Borland 2023-02-01 12:18:00 -08:00
  • 7970a99197 Remove no-op macro Matt Borland 2023-02-01 12:15:47 -08:00
  • d1117666aa Fix jamfile requirements Matt Borland 2023-02-01 12:15:37 -08:00
  • 6b5d05deae Add docs and rebuild HTML Matt Borland 2023-02-01 11:38:06 -08:00
  • 20af2a7eda Cover more code paths Matt Borland 2023-02-01 09:53:51 -08:00
  • f85c68f9d2 More STL comparisons Matt Borland 2023-02-01 09:42:01 -08:00
  • f5f0af78e6 Add more comparisons against STL Matt Borland 2023-01-31 11:21:42 -08:00
  • 12147b861f Replace 57-bit mask with 32-bit mask Matt Borland 2023-01-31 10:53:22 -08:00
  • af3b943333 Fix location of returned pointer Matt Borland 2023-01-31 09:56:28 -08:00
  • ff1ce048a3 Changes for constexpr context Matt Borland 2023-01-31 09:20:31 -08:00
  • 70472c73d5 Add test for generic impl Matt Borland 2023-01-31 08:15:16 -08:00
  • 2fbfe9d93e Add overflow tests Matt Borland 2023-01-27 11:36:27 -08:00
  • 60d819d5b9 Add casting to our memcpy Matt Borland 2023-01-27 11:18:48 -08:00
  • f1fac0a7ae Replace std::memcpy with our memcpy Matt Borland 2023-01-27 10:52:53 -08:00
  • fb87dfff38 Fix MSVC C4146 Matt Borland 2023-01-27 10:10:25 -08:00
  • 1b37d1cb3d Add default initializer to buffer Matt Borland 2023-01-27 10:06:22 -08:00
  • 2e202cecdb FIx missing header for CHAR_BIT Matt Borland 2023-01-27 09:52:48 -08:00
  • cce04082b9 Add consteval memcpy Matt Borland 2023-01-27 09:51:26 -08:00
  • 9bc76d8034 Fix buffer offset and get rid of memcmp Matt Borland 2023-01-27 09:21:08 -08:00
  • 3784c1b81b Put back memcpy in base10 Matt Borland 2023-01-27 09:12:43 -08:00
  • e00712a6a3 Fix handling of all other bases Matt Borland 2023-01-27 09:07:52 -08:00
  • 0ac231b27a Fix base10 overflow handling Matt Borland 2023-01-27 08:52:59 -08:00
  • c06ae72fb9 Use c-style array instead of std::array Matt Borland 2023-01-26 12:03:40 -08:00
  • b1e5a06caf Fix type Matt Borland 2023-01-26 11:46:50 -08:00
  • d7d278bcd5 Impl for all other bases Matt Borland 2023-01-26 11:26:30 -08:00
  • 057df19bf7 Check STL handling of signed 0 Matt Borland 2023-01-26 10:26:10 -08:00
  • 157729dad4 Add character lookup table Matt Borland 2023-01-26 09:32:19 -08:00
  • c7b2177145 Add framework for is_constant_evaluated Matt Borland 2023-01-26 09:21:33 -08:00
  • ff4b840217 Fix MSVC casting warnings Matt Borland 2023-01-25 13:19:26 -08:00
  • 4f46f6a31d Avoid overflow by only using 9 digits per uint32_t Matt Borland 2023-01-25 13:00:54 -08:00
  • 6a9eeacafe Add edge case tests Matt Borland 2023-01-20 12:27:09 -08:00
  • d372d6ab0a Remove unused variables Matt Borland 2023-01-20 12:02:13 -08:00
  • 4765f06652 Fixes to 64 bit testing Matt Borland 2023-01-20 11:23:10 -08:00
  • 52feaddc9d 64bit impl framework Matt Borland 2023-01-20 10:41:15 -08:00
  • fe0260c407 Add functions to pack and unpack 64 and 128 bit integers Matt Borland 2023-01-20 09:07:52 -08:00
  • 302e9f5f09 Workaround for warning C4146 Matt Borland 2023-01-20 08:48:35 -08:00
  • 6b41bb6e69 Add support for negative numbers Matt Borland 2023-01-19 13:33:00 -08:00
  • 37e301d310 Fix for warning C4244 Matt Borland 2023-01-19 12:17:07 -08:00
  • 69d09f5d6b Refactor training Matt Borland 2023-01-19 11:50:30 -08:00
  • 9664ba5172 Disable warning C4127 Matt Borland 2023-01-19 10:47:44 -08:00
  • e55057214a Move buffer and add float stub to keep MSVC happy Matt Borland 2023-01-19 10:24:10 -08:00
  • 9b350bcdcb Simplify 32-bit impl and improve logic Matt Borland 2023-01-18 13:34:33 -08:00
  • 0e5fa4c26b Replace std::array::operator[] since it is not constexpr in C++11 Matt Borland 2023-01-18 12:04:59 -08:00
  • e8db8b0bf4 Fix init of power_of_10 array Matt Borland 2023-01-18 11:47:07 -08:00
  • dea69677eb Add binary search trees for 32, 64 and 128 bit types Matt Borland 2023-01-18 11:36:04 -08:00
  • 807c3ea028 Add framework to decompose larger values Matt Borland 2023-01-18 10:08:18 -08:00
  • 88d522553f More efficiently get rid of leading zeros Matt Borland 2023-01-18 07:41:43 -08:00
  • f5258519d6 Replace memcpy and fix warning Matt Borland 2023-01-17 12:58:03 -08:00
  • fa957d7fe8 Add 32-bit base10 decomposition Matt Borland 2023-01-17 12:48:50 -08:00
  • e0df5fb202 Add missing header Matt Borland 2023-01-17 09:17:19 -08:00
  • e699167d48 to_chars integer parser Matt Borland 2023-01-17 09:13:43 -08:00
  • 2bba2535fd Merge pull request #9 from mborland/CI Matt Borland 2023-01-17 08:33:47 -08:00
  • 5e53cdb03a Remove remaining uses of 18.04 Matt Borland 2023-01-17 08:23:14 -08:00
  • 2fbaa8e39b Use boost.integer framework Matt Borland 2023-01-16 11:30:32 -08:00
  • 55374f1c76 Replace deprecated OS with container Matt Borland 2023-01-16 08:28:04 -08:00
  • 86803b4a62 Merge pull request #8 from mborland/int_parser Matt Borland 2023-01-16 09:34:56 -08:00
  • 9c438e59d3 Add boost.assert to cmake Matt Borland 2023-01-16 09:27:23 -08:00
  • 231840d36d Replace cassert with boost.assert Matt Borland 2023-01-16 08:45:03 -08:00
  • 1591042d70 Add documentation Matt Borland 2023-01-16 08:01:58 -08:00
  • 8a7f593bcd Add 128bit int tests Matt Borland 2023-01-14 17:11:45 -08:00
  • 880c4d2068 Workaround for non-compliant compilers Matt Borland 2023-01-13 12:47:55 -08:00
  • 2c33b21dc2 Add more edge cases to comparison test Matt Borland 2023-01-13 11:43:06 -08:00
  • 1f592c1d4b Add STL comp test and adjust hexadecimal parsing to match Matt Borland 2023-01-13 11:33:18 -08:00
  • 2114d03bc4 Delete bool overloads Matt Borland 2023-01-13 10:25:45 -08:00