Commit Graph

451 Commits

Author SHA1 Message Date
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
Matt Borland
4bfbf69db7 Add detection for CXX14 and above features 2023-04-14 14:24:31 +02:00
Matt Borland
a865d71f04 Replace auto lambda captures 2023-04-14 14:24:25 +02:00
Matt Borland
f2663ac674 Hardcode policies for C++11 2023-04-14 14:24:21 +02:00
Matt Borland
3ef681f0e4 More C++11 compat 2023-04-14 14:24:15 +02:00
Matt Borland
30b2679172 Convert main algo 2023-04-14 14:24:09 +02:00
Matt Borland
01faddb259 Replace policy auto return types with template parameters 2023-04-14 14:24:01 +02:00
Matt Borland
2c623e8b98 C++11 compat 2023-04-14 14:23:54 +02:00
Matt Borland
04750fa246 Add inline variables for C++14 2023-04-14 14:23:44 +02:00
Matt Borland
a8e8755bd2 Use enable_if instead of if constexpr 2023-04-14 14:23:34 +02:00
Matt Borland
5e43fee74f Change namespaces
[ci skip]
2023-04-12 16:15:21 +02:00
Matt Borland
96bb503485 Switch on precision rather than format
[ci skip]
2023-04-12 14:46:48 +02:00
Matt Borland
2084fc08bc Fix C++17 static asserts and structured bindings 2023-04-11 16:26:07 +02:00
Matt Borland
f3d0d370a3 Replace C++17 type_traits and namespaces 2023-04-11 15:28:55 +02:00
Matt Borland
3e674703aa Replace macros and bit layouts 2023-04-11 15:21:36 +02:00