Commit Graph

465 Commits

Author SHA1 Message Date
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
Matt Borland
ba433e9fe9 Use template structs to fix ODR violations 2023-04-21 16:16:35 +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
e58aeff5e2 Fix memmove offset and missing trailing zeros 2023-04-21 14:44:23 +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
Matt Borland
f19bae821a Workaround for MSVC 14.0 lack of BOOST_ATTRIBUTE_UNUSED 2023-04-20 15:03:12 +02:00
Matt Borland
0e01dc7aaf Fix MSVC warning C4244 2023-04-20 14:50:00 +02:00
Matt Borland
82a0e317f9 Fix MSVC warning C4100 2023-04-20 14:48:41 +02:00
Matt Borland
cb5311810a Fix -Wmaybe-unintialized and GCC 4.X -Wmissing-field-initalizers 2023-04-20 14:13:38 +02:00
Matt Borland
2c8d787dd4 Remove static assert that only works with C++17 or greater 2023-04-20 13:38:54 +02:00
Matt Borland
8dbdf1935e Refactor front end for floats 2023-04-20 13:24:51 +02:00
Matt Borland
cf02c6ccd3 Change capitalization of exponent character 2023-04-20 13:15:27 +02:00
Matt Borland
2822297879 Fix alias for cache_format 2023-04-19 17:57:13 +02:00
Matt Borland
98605e7a56 Fix MSVC 14.0 warning C4244 2023-04-19 17:36:06 +02:00
Matt Borland
9bf6ea8038 Workaround for MSVC 14.0 broken return type deduction 2023-04-19 17:13:46 +02:00
Matt Borland
a1494c7dd9 Fix MSVC 14.0 cache redefinition from inline variable 2023-04-19 16:53:23 +02:00
Matt Borland
744531fc0a Add test for non-finite values 2023-04-19 16:37:49 +02:00
Matt Borland
cec750702b Define two cache holders rather than specialize a template struct 2023-04-19 16:12:44 +02:00
Matt Borland
7b5e4cf773 Ignore GCC 4.X -Wmissing-field-initializers 2023-04-19 15:47:28 +02:00
Matt Borland
e0d3549c1a Ignore MSVC 14.1 C4307 2023-04-19 15:45:45 +02:00
Matt Borland
9ad4f5d0d2 Add default initializer for GCC 4.X and UBSAN 2023-04-18 15:44:21 +02:00
Matt Borland
6cf438f6ea Workaround for Clang < 4 return type deduction under C++14 2023-04-18 14:54:03 +02:00
Matt Borland
6c0f8e8e3e Disable warnings C4100 and C4189 2023-04-18 14:45:32 +02:00
Matt Borland
5bcad94877 Fix warning C4244 2023-04-18 14:38:23 +02:00
Matt Borland
40879aa975 Fix warnings C4305 and C4127 2023-04-18 14:23:08 +02:00
Matt Borland
e7de79a89d Rename to_chars integer impl 2023-04-18 14:14:59 +02:00
Matt Borland
f28dfee580 Improve testing diagnostics and ranges 2023-04-18 13:54:21 +02:00
Matt Borland
e0409c8353 Adjust upper bound on integer printing 2023-04-18 13:11:21 +02:00
Matt Borland
92c8f6fcdf Add test to troubleshoot general format failure 2023-04-18 13:04:21 +02:00
Matt Borland
4e62c16c78 Add boost.json issue test 2023-04-17 16:16:37 +02:00
Matt Borland
599febf90a Remove cruft 2023-04-14 14:39:03 +02:00