Commit Graph

425 Commits

Author SHA1 Message Date
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
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
1a903ad119 Use dragonbox::to_decimal for values that diverge from printf
[ci skip]
2023-04-11 14:06:14 +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
Matt Borland
e766cb6de1 Replace c-style asserts with boost.assert 2023-04-06 16:07:07 +02:00
Matt Borland
2bebc3cdac Replace macros with existing boost ones 2023-04-06 15:57:47 +02:00
Matt Borland
d7b83c4be1 Remove commented out code 2023-04-06 15:44:28 +02:00
Matt Borland
cbaf8a3d4b Refactor namespaces 2023-04-06 15:17:43 +02:00
Matt Borland
802f5b8922 Remove unneeded files 2023-04-06 14:44:14 +02:00
Matt Borland
9c704d69ce Fix macro for incorrect tests on Windows Platforms 2023-04-05 17:54:32 +02:00
Matt Borland
3c5ff8e600 Fix sign of exponent 2023-04-05 17:28:33 +02:00
Matt Borland
27f250a16d Disable tests on platforms where std:::hexfloat performs incorrectly 2023-04-05 17:28:20 +02:00
Matt Borland
0791ba8cdf Fix memcpy length 2023-04-05 16:04:47 +02:00
Matt Borland
c30686ebce Fix logic to remove trailing zeros 2023-04-05 16:04:28 +02:00
Matt Borland
acbc912c83 Don't print trailing zeros with unspecified precision 2023-04-05 15:15:43 +02:00
Matt Borland
b0d8e7f389 Simplify hex impl 2023-04-04 17:59:27 +02:00
Matt Borland
6c993bfd6b Add denorm mask to bit layouts 2023-04-04 17:50:31 +02:00
Matt Borland
232f369c25 Improve handling of edge cases 2023-04-04 16:53:51 +02:00