Commit Graph

90 Commits

Author SHA1 Message Date
Matt Borland
9fbaf88227 Fix 32-bit precision arguments 2023-06-07 15:25:04 +02:00
Matt Borland
c4b68401e3 __float128 fixes 2023-06-07 10:38:49 +02:00
Matt Borland
6df33e8d08 Add snprintf fallback 2023-06-07 10:10:27 +02:00
Matt Borland
ef5e521c6e Implement issignaling rather than using glibc macro 2023-06-06 08:40:12 +02:00
Matt Borland
02f78d0a35 Fix 128 bit inf handling 2023-06-05 18:10:37 +02:00
Matt Borland
cb39cdd059 Fix 128 bit nan handling 2023-06-02 14:17:35 +02:00
Matt Borland
e922319341 Add qualification for isnan and signbit 2023-06-02 12:51:50 +02:00
Matt Borland
e5b4fffc79 Fix 32 bit nan handling 2023-06-02 10:54:14 +02:00
Matt Borland
553559304f Require __uint128 to use __float128 2023-06-02 10:25:29 +02:00
Matt Borland
37f1a158e1 Add long double non-finite values testing 2023-06-02 10:21:08 +02:00
Matt Borland
64dc9a4eff Add __float128 overload 2023-06-02 10:04:03 +02:00
Matt Borland
0f07bc11e3 Add STL comparison tests 2023-06-01 17:07:40 +02:00
Matt Borland
c2b9e1d764 Fix macros for 32 bit systems 2023-06-01 15:54:51 +02:00
Matt Borland
b5b2a0a7c2 Add 80 and 128 bit implementation 2023-06-01 15:33:31 +02:00
Matt Borland
e436cb42e2 Change order of includes for MSVC deprecation warnings 2023-05-30 14:54:23 +02:00
Matt Borland
ec95ed7792 Suppress warnings for GCC 4.x and MSVC 14.0 2023-05-30 14:16:03 +02:00
Matt Borland
079a74d462 Define _SCL_SECURE_NO_WARNINGS 2023-05-30 09:29:45 +02:00
Matt Borland
e864e9e0fd Change handling of hex strings 2023-05-26 17:20:06 +02:00
Matt Borland
2ac4291559 Add macro for BOOST_CXX14_CONSTEXPR without inline expansion in C++11 2023-05-26 17:01:45 +02:00
Matt Borland
692a2b9c01 Fix failures on platforms with long double > 64 bits 2023-05-18 11:20:49 +02:00
Matt Borland
f9b0b76499 Add function to convert errno to std::errc 2023-05-18 10:21:09 +02:00
Matt Borland
3d211434b4 Convert from_chars to use std::errc instead of errno 2023-05-18 10:20:44 +02:00
Matt Borland
f0d0388898 Add handling for 64-bit long doubles 2023-05-16 11:00:44 +02:00
Matt Borland
60c16b7767 Fix 64-bit and MSVC long double handling 2023-05-15 12:38:57 +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
672dc6f684 Fix merge conflicts 2023-05-04 13:32:23 +02:00
Matt Borland
d3fdefff4b Suppress conversion warnings for C++11 and 14 2023-05-04 09:46:39 +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
30edfaeb32 Fix scientific formatting when exponent is 0 2023-05-02 15:37:57 +02:00
Matt Borland
0a3a447059 Print min 2 digits in the exponent 2023-05-02 15:01:28 +02:00
Matt Borland
2185032f31 Suppress warning C4127 2023-04-25 15:07:14 +02:00
Matt Borland
9ed0637dab Pre-compile more of dragonbox 2023-04-25 13:49:01 +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
8dbdf1935e Refactor front end for floats 2023-04-20 13:24:51 +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
599febf90a Remove cruft 2023-04-14 14:39:03 +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
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
cbaf8a3d4b Refactor namespaces 2023-04-06 15:17:43 +02:00
Matt Borland
acbc912c83 Don't print trailing zeros with unspecified precision 2023-04-05 15:15:43 +02:00
Matt Borland
3a1286330c Implement to_chars for floats 2023-03-31 17:48:27 +02:00
Matt Borland
64a2359461 Fix clang implicit conversion warning 2023-03-31 17:11:29 +02:00
Matt Borland
17d778078a Add fixed formatting 2023-03-31 16:11:38 +02:00