Commit Graph

241 Commits

Author SHA1 Message Date
Matt Borland
cbee82ab4a Fix 32-bit testing 2023-06-09 13:31:05 +02:00
Matt Borland
238a88c5e5 Add trivial struct for memcpy and test 2023-06-09 13:06:40 +02:00
Matt Borland
b80260513e Add bitwise operator test 2023-06-09 13:06:19 +02:00
Matt Borland
c787bc7434 Fix mul and div tests 2023-06-09 11:03:02 +02:00
Matt Borland
5582483224 Compare to unsigned __int128 2023-06-09 10:17:04 +02:00
Matt Borland
1325c38393 Add testing framework 2023-06-09 08:32:07 +02:00
Matt Borland
35312cb5fd Add overload for emulated128 in num_digits 2023-06-08 13:27:28 +02:00
Matt Borland
7b0a1f5748 Fix range of invalid values 2023-06-07 16:32:59 +02:00
Matt Borland
9fbaf88227 Fix 32-bit precision arguments 2023-06-07 15:25:04 +02:00
Matt Borland
fde2825aee Add testing for general and scientific formats 2023-06-07 11:26:07 +02:00
Matt Borland
92ab72d213 Disable 32 bit test with GCC versions that have the wrong value of sNaN 2023-06-06 14:59:24 +02:00
Matt Borland
37f1a158e1 Add long double non-finite values testing 2023-06-02 10:21:08 +02:00
Matt Borland
0f07bc11e3 Add STL comparison tests 2023-06-01 17:07:40 +02:00
Matt Borland
730c99791c Add test values reported on slack 2023-05-30 16:30:41 +02:00
Matt Borland
a40d634cbe Include pointer location in spot_value test 2023-05-30 16:23:06 +02:00
Matt Borland
2ac4291559 Add macro for BOOST_CXX14_CONSTEXPR without inline expansion in C++11 2023-05-26 17:01:45 +02:00
Matt Borland
4ba827c182 Fix merge conflict 2023-05-24 16:29:50 +02:00
Matt Borland
8b313782a7 Add sub-normal value tests 2023-05-24 14:27:48 +02:00
Matt Borland
d02ee9684e Add tests for delimited values in different forms 2023-05-24 11:31:29 +02:00
Matt Borland
0b0d0b6718 Add test value 2023-05-23 17:32:47 +02:00
Matt Borland
df421ae3d8 Add round tripping of consecutive extreme values 2023-05-23 15:27:18 +02:00
Matt Borland
6d39c28957 Add values where RapidJSON uses bigints 2023-05-23 14:31:51 +02:00
Matt Borland
9728cf26c9 Add table 2 and hardest 17 digit number 2023-05-23 10:23:17 +02:00
Matt Borland
f8d200ecd4 Add stress inputs from test base
https://www.icir.org/vern/papers/testbase-report.pdf
2023-05-22 17:23:31 +02:00
Matt Borland
78cd508448 Remove test value initialization 2023-05-22 11:17:39 +02:00
Matt Borland
4894a34472 Improve issue 45 testing 2023-05-22 11:17:39 +02:00
Matt Borland
044242dbce Add fallback routine with dynamic memory allocation 2023-05-22 11:17:39 +02:00
Matt Borland
dd862f8679 Fix incorrect test value 2023-05-22 11:17:39 +02:00
Matt Borland
e6e12051cd Add test cases 2023-05-22 11:17:39 +02:00
Peter Dimov
7d8d3449eb Use snprintf instead of sprintf to avoid security deprecation warnings 2023-05-19 18:55:04 +03:00
Peter Dimov
6618b989b3 Add zero extension tests for float and double 2023-05-19 18:43:06 +03:00
Matt Borland
554d7a0c3e Ignore GCC 9, 10, and 12 -Wmaybe-uninitialized 2023-05-18 12:43:11 +02:00
Matt Borland
94830e29de Update docs 2023-05-18 10:56:14 +02:00
Matt Borland
f027ead7a0 Convert to_chars to use std::errc instead of errno 2023-05-18 10:20:50 +02:00
Matt Borland
3d211434b4 Convert from_chars to use std::errc instead of errno 2023-05-18 10:20:44 +02:00
Matt Borland
809dc65dd5 Fix starting value of V and test operator 2023-05-17 16:13:09 +02:00
Matt Borland
686c515c0c Add long double subnormal range for conversion to +/- 0 2023-05-17 10:35:18 +02:00
Matt Borland
9a98e90adc Fix long double testing 2023-05-17 09:22:46 +02:00
Matt Borland
72a62c91d5 Fix handling for floats 2023-05-17 08:59:50 +02:00
Matt Borland
99e54aa603 Add long double test case 2023-05-17 08:49:41 +02:00
Matt Borland
3a00fa7f30 Add handling for doubles 2023-05-17 08:44:24 +02:00
Matt Borland
ebede617c9 Add test cases 2023-05-17 08:44:24 +02:00
Matt Borland
f0d0388898 Add handling for 64-bit long doubles 2023-05-16 11:00:44 +02:00
Matt Borland
ccfc40d78f Add long double testing 2023-05-16 08:27:18 +02:00
Matt Borland
10ca6f1346 Suppress warning C4244 from BOOST_IF_CONSTEXPR expansion 2023-05-15 15:55:41 +02:00
Matt Borland
3c46a4c918 Add full testing on floats 2023-05-15 15:24:27 +02:00
Matt Borland
14190f4acb Add full check ULP test suite 2023-05-15 13:48:36 +02:00
Matt Borland
ed761823cd Add test values from issue 2023-05-15 13:48:36 +02:00
Matt Borland
60c16b7767 Fix 64-bit and MSVC long double handling 2023-05-15 12:38:57 +02:00
Matt Borland
956369309d Add tests for invalid values from leading plus sign 2023-05-12 13:45:23 +02:00