Commit Graph

658 Commits

Author SHA1 Message Date
Matt Borland
35312cb5fd Add overload for emulated128 in num_digits 2023-06-08 13:27:28 +02:00
Matt Borland
d6e9efa791 Add BOOST_CHARCONV_ASSUME macro 2023-06-08 13:27:05 +02:00
Matt Borland
7b0a1f5748 Fix range of invalid values 2023-06-07 16:32:59 +02:00
Matt Borland
9fbaf88227 Fix 32-bit precision arguments 2023-06-07 15:25:04 +02:00
Matt Borland
fde2825aee Add testing for general and scientific formats 2023-06-07 11:26:07 +02:00
Matt Borland
c4b68401e3 __float128 fixes 2023-06-07 10:38:49 +02:00
Matt Borland
090fb18ac3 Add quadmath library to build 2023-06-07 10:15:33 +02:00
Matt Borland
6df33e8d08 Add snprintf fallback 2023-06-07 10:10:27 +02:00
Matt Borland
92ab72d213 Disable 32 bit test with GCC versions that have the wrong value of sNaN 2023-06-06 14:59:24 +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
2e3636a90b Reduce code duplication with existing num_digits implementations 2023-06-01 17:05:49 +02:00
Matt Borland
db8db66c9a Adjust values of mantissa for snans 2023-06-01 16:54:58 +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
6a0ef32520 Change formatting of exponent 2023-06-01 15:09:03 +02:00
Matt Borland
c250f12616 Add __float128 overload 2023-06-01 14:57:35 +02:00
Matt Borland
71d3cf1b72 Change handling of nans and ints 2023-06-01 14:47:14 +02:00
Matt Borland
ccfcc0ff1f port ryu_generic_128 2023-06-01 14:23:36 +02:00
Matt Borland
77655ab9fa Port generic_128.hpp 2023-06-01 11:45:53 +02:00
Matt Borland
acbb37223c Merge pull request #54 from mborland/use_fast_float
Replace floating point from_chars with newer fast_float
2023-06-01 10:39:27 +02:00
Matt Borland
7b80cea2f3 Revert chars_format to an enum class 2023-05-31 14:39:42 +02:00
Matt Borland
29d2c136b6 Remove cruft 2023-05-31 12:55:08 +02:00
Matt Borland
bb54919f56 Make additional variables constexpr 2023-05-31 10:57:23 +02:00
Matt Borland
730c99791c Add test values reported on slack 2023-05-30 16:30:41 +02:00
Matt Borland
a40d634cbe Include pointer location in spot_value test 2023-05-30 16:23:06 +02:00
Matt Borland
bca4cc5d89 Use BOOST_FORCEINLINE 2023-05-30 16:07:20 +02:00
Matt Borland
98c9f43eda Fix namespaces 2023-05-30 15:55:01 +02:00
Matt Borland
13ad334aa4 Bulk macro replacement 2023-05-30 15:45:22 +02:00
Matt Borland
e436cb42e2 Change order of includes for MSVC deprecation warnings 2023-05-30 14:54:23 +02:00
Matt Borland
c97738c84c Use UINT64_C instead of static_cast<uint64_t> 2023-05-30 14:29:38 +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
825288ae2d Re-baseline to fast_float 2023-05-30 14:02:29 +02:00
Matt Borland
8b36fc96c1 Pedantic changes 2023-05-30 12:44:26 +02:00
Matt Borland
4d9613c74b Disable warning for parameter marked as unused 2023-05-30 12:19:09 +02:00
Matt Borland
44d6cb751c Disable some constexpr calculations with MSVC 2023-05-30 10:57:26 +02:00
Matt Borland
1070362ee9 Use constexpr leading zero count 2023-05-30 10:20:35 +02:00
Matt Borland
1a575180bf Default initialize variable in constexpr function 2023-05-30 10:13:45 +02:00
Matt Borland
079a74d462 Define _SCL_SECURE_NO_WARNINGS 2023-05-30 09:29:45 +02:00
Matt Borland
42555ab3fc Fix various MSVC warnings 2023-05-26 17:53:26 +02:00
Matt Borland
4ea52a08dd Fix conversion warnings 2023-05-26 17:43:06 +02:00
Matt Borland
acdd3e3c4a Fix unused parameter warnings 2023-05-26 17:30:25 +02:00
Matt Borland
e864e9e0fd Change handling of hex strings 2023-05-26 17:20:06 +02:00