Commit Graph

308 Commits

Author SHA1 Message Date
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
f32fa5e5be Fix known compiler support for comparison tests 2023-04-20 17:30:31 +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
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
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
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
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
Matt Borland
00e2076bf6 Move utilities to common 2023-04-11 15:11:53 +02:00
Matt Borland
d63f1efde2 Establish common file for dragonbox and floff 2023-04-11 14:41:29 +02:00
Matt Borland
34c3d2b4a6 Add dragonbox shortest formatting
[ci skip]
2023-04-10 17:35:56 +02:00
Matt Borland
766ccde374 Revert uint128 to a struct 2023-04-10 14:00:06 +02:00
Matt Borland
7e7a7ec181 Replace anonymous namespaces with templates 2023-04-07 15:48:22 +02:00
Matt Borland
1bcb4912b3 Collected formatting changes 2023-04-07 15:12:09 +02:00
Matt Borland
67047b4d95 Merge the two emulated128 classes 2023-04-06 17:22:46 +02:00
Matt Borland
bb111e2974 Const consistency 2023-04-06 16:48:37 +02:00
Matt Borland
3402490953 Macro name change 2023-04-06 16:41:29 +02:00
Matt Borland
a83b37944b Replace C-Style Casts 2023-04-06 16:35:06 +02:00
Matt Borland
13b6b3ad6a Replace bit intrinsics with boost/core/bit 2023-04-06 16:11:12 +02:00