Commit Graph

502 Commits

Author SHA1 Message Date
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
2dd43da0a3 Remove superflous check
See: ce0bc4b25f
2023-05-05 15:02:47 +02:00
Matt Borland
1376e9d2ce Test every power of double 2023-05-05 11:57:49 +02:00
Matt Borland
d1d8395bd9 Fix bounds on integer representation 2023-05-04 15:08:26 +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
9f18444d7b Merge pull request #26 from mborland/parser
Fix parser for edge cases found with Boost.JSON tests
2023-05-04 13:26:42 +02:00
Matt Borland
21133c6940 Suppress GCC 4.X -Wmissing-fied-initalizers 2023-05-04 12:52:23 +02:00
Matt Borland
d3fdefff4b Suppress conversion warnings for C++11 and 14 2023-05-04 09:46:39 +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
9a450e6d97 Don't use strlen when we already know the length of the buffer 2023-05-04 09:16:44 +02:00
Matt Borland
4fb8d92e76 Fix parsing large significand with fractional component 2023-05-04 09:06:12 +02:00
Matt Borland
adea138d23 Add strtod fallback routine 2023-05-04 08:45:42 +02:00
Matt Borland
d96646ec92 Refactor to reduce code duplication 2023-05-04 08:31:27 +02:00
Matt Borland
73ea28328f Fix case of number to 0th power 2023-05-03 17:19:23 +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
894b1d72e4 Fix case of leading zeros in significand and fraction 2023-05-03 16:21:49 +02:00
Matt Borland
77493c0489 Fix linter warnings 2023-05-03 16:15:53 +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
30edfaeb32 Fix scientific formatting when exponent is 0 2023-05-02 15:37:57 +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
0a3a447059 Print min 2 digits in the exponent 2023-05-02 15:01:28 +02:00
Matt Borland
1df4463233 Formatting fixes from doc preview 2023-05-01 17:02:32 +02:00
Matt Borland
300f94fd5a Fix source highlighting and update supported compilers 2023-05-01 16:40:45 +02:00
Matt Borland
de3322d416 Update reference 2023-05-01 16:34:40 +02:00
Matt Borland
b09cd1f50a Add from_chars floating point docs 2023-05-01 16:20:10 +02:00
Matt Borland
ba51e5928c Convert markdown syntax to asciidoc 2023-05-01 15:57:37 +02:00
Matt Borland
900c650258 Add to_chars floating point docs 2023-05-01 15:56:36 +02:00
Matt Borland
fb2b4034da Document chars_format 2023-05-01 15:54:20 +02:00
Matt Borland
dbdc8d2e3c Replace _MSC_VER with BOOST_MSVC 2023-05-01 14:39:38 +02:00
Matt Borland
be0f290b0f Fix silent failure of MSVC 14.0 2023-04-28 16:29:12 +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
2185032f31 Suppress warning C4127 2023-04-25 15:07:14 +02:00
Matt Borland
bf955e9312 Improve floff non-finite value handling 2023-04-25 15:00:38 +02:00
Matt Borland
9ed0637dab Pre-compile more of dragonbox 2023-04-25 13:49:01 +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
bdb8325c7b Fix missing negative sign on hex 2023-04-24 16:50:34 +02:00
Matt Borland
40d64d2ee3 Fix chars_format::hex non-finite values handling 2023-04-24 16:20:18 +02:00