Commit Graph

61 Commits

Author SHA1 Message Date
Peter Dimov
43f8d1b777 Add long double to limits test 2023-02-09 19:16:45 +02:00
Peter Dimov
fd2e5139f1 Add long double to roundtrip test 2023-02-09 18:58:35 +02:00
Peter Dimov
13a5fe5c90 Update roundtrip fp values 2023-02-09 18:48:22 +02:00
Peter Dimov
1df4ff38c1 Add boundary values to test/roundtrip.cpp 2023-02-09 02:50:58 +02:00
Peter Dimov
1eec775de3 Add test for odr-use of the limits constants 2023-02-09 01:49:48 +02:00
Peter Dimov
0398da3b67 Add simple sanity checks for the limits<> values 2023-02-09 01:46:58 +02:00
Peter Dimov
ecbf043f82 Add floating point from_chars check to test/limits.cpp 2023-02-09 01:29:58 +02:00
Peter Dimov
ccbae48c1a Add integral from_chars check to test/limits.cpp 2023-02-09 01:28:02 +02:00
Peter Dimov
89107b55a8 Change limits<T> and update test/limits.cpp to test it 2023-02-09 01:21:26 +02:00
Peter Dimov
919a92255f Output more information on floating point failure 2023-02-08 21:33:27 +02:00
Peter Dimov
ee8a376f82 Add missing include 2023-02-08 21:26:16 +02:00
Peter Dimov
da25d61248 Activate float/double tests in roundtrip.cpp; add stub implementations of from_chars and to_chars to make them pass 2023-02-08 21:21:28 +02:00
Peter Dimov
f476f9c39c Update test/roundtrip.cpp 2023-02-08 20:57:08 +02:00
Matt Borland
930e0d0dd5 Fix warning C4018: '>=': signed/unsigned mismatch 2023-02-07 10:01:20 -08:00
Matt Borland
280692cc86 Change to function notation for pre C++17 2023-02-07 09:42:23 -08:00
Matt Borland
2c4e7966bc Add limits definitions 2023-02-07 09:17:21 -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
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
d1117666aa Fix jamfile requirements 2023-02-01 12:15:37 -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
af3b943333 Fix location of returned pointer 2023-01-31 09:56:28 -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
9bc76d8034 Fix buffer offset and get rid of memcmp 2023-01-27 09:21:08 -08:00
Matt Borland
e00712a6a3 Fix handling of all other bases 2023-01-27 09:07:52 -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
ff4b840217 Fix MSVC casting warnings 2023-01-25 13:19:26 -08:00
Matt Borland
6a9eeacafe Add edge case tests 2023-01-20 12:27:09 -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
6b41bb6e69 Add support for negative numbers 2023-01-19 13:33:00 -08:00
Matt Borland
69d09f5d6b Refactor training 2023-01-19 11:50:30 -08:00
Matt Borland
9c438e59d3 Add boost.assert to cmake 2023-01-16 09:27:23 -08:00
Matt Borland
231840d36d Replace cassert with boost.assert 2023-01-16 08:45:03 -08:00
Matt Borland
8a7f593bcd Add 128bit int tests 2023-01-14 17:11:45 -08:00
Matt Borland
880c4d2068 Workaround for non-compliant compilers 2023-01-13 12:47:55 -08:00
Matt Borland
2c33b21dc2 Add more edge cases to comparison test 2023-01-13 11:43:06 -08:00
Matt Borland
1f592c1d4b Add STL comp test and adjust hexadecimal parsing to match 2023-01-13 11:33:18 -08:00
Matt Borland
06d17d8827 Fix GCC5 workaround 2023-01-13 10:39:36 -08:00
Matt Borland
51e3eef6ee Workaround for GCC 5 C++14 constexpr support 2023-01-12 12:53:17 -08:00
Matt Borland
1a2a1ad66a Make integer from_chars constexpr 2023-01-12 11:36:53 -08:00
Matt Borland
b5baf88e35 Add overload for signed char
http://eel.is/c++draft/basic#fundamental
2023-01-12 10:18:52 -08:00