Commit Graph

201 Commits

Author SHA1 Message Date
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
Matt Borland
e4ab9c5b57 Add value without significand handling and test 2023-05-12 12:56:29 +02:00
Matt Borland
e776e41361 Add test values reported in issue 2023-05-12 12:18:55 +02:00
Matt Borland
84450fea91 Merge pull request #24 from mborland/float_to_chars
Float to chars
2023-05-09 14:41:42 +02:00
Matt Borland
c7f56dea0d Add tests from Boost.JSON stream_parser 2023-05-08 15:46:15 +02:00
Matt Borland
b0d318ad6b Change handling of 0 depending on chars_format 2023-05-08 15:14:16 +02:00
Matt Borland
62c56f9dbb Disable warning C4127 2023-05-05 16:13:51 +02:00
Matt Borland
246d9e0d96 Enable long doubles on 64-bit platforms 2023-05-05 15:54:27 +02:00
Matt Borland
5ee466ca4b Fix scientific notation handling of 0 power 2023-05-05 13:29:17 +02:00
Matt Borland
1f0e692ea9 Test every power of double 2023-05-05 13:25:17 +02:00
Matt Borland
1376e9d2ce Test every power of double 2023-05-05 11:57:49 +02:00
Matt Borland
c203f1609f Add Boost.JSON grind_double tests 2023-05-04 14:51:44 +02:00
Matt Borland
8058863041 Re-enable boost.json values testing 2023-05-04 14:25:13 +02:00
Matt Borland
672dc6f684 Fix merge conflicts 2023-05-04 13:32:23 +02:00
Matt Borland
1a893dcf47 Fix case where the power is equal to the number of leading zeros 2023-05-04 09:36:27 +02:00
Matt Borland
4fb8d92e76 Fix parsing large significand with fractional component 2023-05-04 09:06:12 +02:00
Matt Borland
d96646ec92 Refactor to reduce code duplication 2023-05-04 08:31:27 +02:00
Matt Borland
6e0b501dd4 Add all remaining boost.json tests 2023-05-03 17:10:41 +02:00
Matt Borland
b54f9dfc6c Fix case with leading zeros in integer and fraction e.g. 0.0001 2023-05-03 16:56:22 +02:00
Matt Borland
4bda4e78cc Add more boost.json values 2023-05-03 16:41:52 +02:00
Matt Borland
8cd2f9c646 Add test for failing value from boost.json tests 2023-05-03 15:56:27 +02:00
Matt Borland
97ba04cca3 Disable boost.json test as from_chars is failing 2023-05-02 15:49:38 +02:00
Matt Borland
3a6821d6cd Add ryu regression tests 2023-05-02 15:19:26 +02:00
Matt Borland
5cc81c2887 Add additional testing from ryu 2023-05-02 15:02:46 +02:00
Matt Borland
ae56c77d22 Disable clang std::from_chars 2023-04-28 12:17:50 +02:00
Matt Borland
a8c0faa5ba Add suspect roundtrip values for STL and fix truncation warning 2023-04-28 11:53:52 +02:00
Matt Borland
a76cca212e Reduce range and add suspect roundtrip values 2023-04-27 14:12:37 +02:00
Matt Borland
a6c5f05ad1 Fix from_chars float handling of signed zeros 2023-04-26 14:14:57 +02:00
Matt Borland
65b5ef4d40 Reduce random test iterations per precision 2023-04-26 13:39:20 +02:00
Matt Borland
09abb002b7 Add bounds checking to hex exp 2023-04-26 13:05:33 +02:00
Matt Borland
4351953969 Add precision to testing 2023-04-25 15:37:28 +02:00
Matt Borland
bf955e9312 Improve floff non-finite value handling 2023-04-25 15:00:38 +02:00
Matt Borland
bb6e1af4d2 Change random range for MSVC to avoid overflow in STL 2023-04-24 16:50:53 +02:00
Matt Borland
40d64d2ee3 Fix chars_format::hex non-finite values handling 2023-04-24 16:20:18 +02:00
Matt Borland
d562d85351 Increase range of fixed formatting 2023-04-21 15:57:47 +02:00
Matt Borland
4ddf923d7c Refactor cpp file and add testing for float type 2023-04-21 15:28:47 +02:00
Matt Borland
91c67dfa18 Add scientific and hex comparison tests 2023-04-21 13:16:39 +02:00
Matt Borland
f32fa5e5be Fix known compiler support for comparison tests 2023-04-20 17:30:31 +02:00
Matt Borland
d9a1d11400 Add <charconv> comparison test 2023-04-20 16:27:40 +02:00
Matt Borland
9c4499f9e2 Handle signed nans and allow for sNaN and qNaN differentiation 2023-04-20 16:27:06 +02:00
Matt Borland
c03bacdcd0 Change printing of non-finite values to match STL 2023-04-20 15:37:35 +02:00