Commit Graph

119 Commits

Author SHA1 Message Date
Matt Borland
a98a53e87a Merge pull request #10 from mborland/to_chars_int
to_chars integer parser
2023-02-06 10:06:41 -08:00
Matt Borland
13dd7d1026 Workaround for GCC11 2023-02-06 08:54:48 -08:00
Matt Borland
d46e8fc7a9 Remove HTML
[ci skip]
2023-02-03 11:54:45 -08:00
Matt Borland
7934db5eb1 Ignore GCC10+ memcpy overflow warning 2023-02-03 10:56:49 -08:00
Matt Borland
c9376c89bf Disable random 8-bit int tests on MSVC 2023-02-03 09:29:56 -08:00
Matt Borland
c71084d46d Add literal to fix MSVC test errors 2023-02-03 09:05:52 -08:00
Matt Borland
a27c11a3d4 Fix sign comparison 2023-02-02 12:09:17 -08:00
Matt Borland
aa13c62ce6 Fix 8 and 16 bit overflows 2023-02-02 11:52:02 -08:00
Matt Borland
6759a4216a Add more fixed width integers 2023-02-02 09:35:27 -08:00
Matt Borland
a111b5c2bd Add stress test and used fixed seed on CI random tests 2023-02-02 09:21:45 -08:00
Matt Borland
373954a4a8 Revert decompose32 mask change 2023-02-02 08:54:49 -08:00
Matt Borland
a8991a3c26 Add tests with random numbers and fixed bases 2023-02-02 08:32:05 -08:00
Matt Borland
fb69333f62 Sign is accounted for by shifting first 2023-02-01 16:09:48 -08:00
Matt Borland
a8c8cb73f1 Simplify is_constant_evaluated_macro 2023-02-01 12:18:00 -08:00
Matt Borland
7970a99197 Remove no-op macro 2023-02-01 12:15:47 -08:00
Matt Borland
d1117666aa Fix jamfile requirements 2023-02-01 12:15:37 -08:00
Matt Borland
6b5d05deae Add docs and rebuild HTML 2023-02-01 11:38:06 -08:00
Matt Borland
20af2a7eda Cover more code paths 2023-02-01 09:53:51 -08:00
Matt Borland
f85c68f9d2 More STL comparisons 2023-02-01 09:42:01 -08:00
Matt Borland
f5f0af78e6 Add more comparisons against STL 2023-01-31 11:21:42 -08:00
Matt Borland
12147b861f Replace 57-bit mask with 32-bit mask
Co-authored-by: Junekey Jeon <jk_jeon@kaist.ac.kr>
2023-01-31 10:53:22 -08:00
Matt Borland
af3b943333 Fix location of returned pointer 2023-01-31 09:56:28 -08:00
Matt Borland
ff1ce048a3 Changes for constexpr context 2023-01-31 09:20:31 -08:00
Matt Borland
70472c73d5 Add test for generic impl 2023-01-31 08:15:16 -08:00
Matt Borland
2fbfe9d93e Add overflow tests 2023-01-27 11:36:27 -08:00
Matt Borland
60d819d5b9 Add casting to our memcpy 2023-01-27 11:18:48 -08:00
Matt Borland
f1fac0a7ae Replace std::memcpy with our memcpy 2023-01-27 10:52:53 -08:00
Matt Borland
fb87dfff38 Fix MSVC C4146 2023-01-27 10:10:25 -08:00
Matt Borland
1b37d1cb3d Add default initializer to buffer 2023-01-27 10:06:22 -08:00
Matt Borland
2e202cecdb FIx missing header for CHAR_BIT 2023-01-27 09:52:48 -08:00
Matt Borland
cce04082b9 Add consteval memcpy 2023-01-27 09:51:26 -08:00
Matt Borland
9bc76d8034 Fix buffer offset and get rid of memcmp 2023-01-27 09:21:08 -08:00
Matt Borland
3784c1b81b Put back memcpy in base10 2023-01-27 09:12:43 -08:00
Matt Borland
e00712a6a3 Fix handling of all other bases 2023-01-27 09:07:52 -08:00
Matt Borland
0ac231b27a Fix base10 overflow handling 2023-01-27 08:52:59 -08:00
Matt Borland
c06ae72fb9 Use c-style array instead of std::array
[ci skip]
2023-01-26 12:03:47 -08:00
Matt Borland
b1e5a06caf Fix type
[ci skip]
2023-01-26 11:46:50 -08:00
Matt Borland
d7d278bcd5 Impl for all other bases
[ci skip]
2023-01-26 11:46:32 -08:00
Matt Borland
057df19bf7 Check STL handling of signed 0 2023-01-26 10:26:10 -08:00
Matt Borland
157729dad4 Add character lookup table 2023-01-26 09:32:19 -08:00
Matt Borland
c7b2177145 Add framework for is_constant_evaluated 2023-01-26 09:21:33 -08:00
Matt Borland
ff4b840217 Fix MSVC casting warnings 2023-01-25 13:19:26 -08:00
Matt Borland
4f46f6a31d Avoid overflow by only using 9 digits per uint32_t 2023-01-25 13:00:54 -08:00
Matt Borland
6a9eeacafe Add edge case tests 2023-01-20 12:27:09 -08:00
Matt Borland
d372d6ab0a Remove unused variables 2023-01-20 12:02:13 -08:00
Matt Borland
4765f06652 Fixes to 64 bit testing 2023-01-20 11:23:10 -08:00
Matt Borland
52feaddc9d 64bit impl framework 2023-01-20 10:41:15 -08:00
Matt Borland
fe0260c407 Add functions to pack and unpack 64 and 128 bit integers 2023-01-20 09:07:52 -08:00
Matt Borland
302e9f5f09 Workaround for warning C4146 2023-01-20 08:48:35 -08:00
Matt Borland
6b41bb6e69 Add support for negative numbers 2023-01-19 13:33:00 -08:00