Commit Graph

114 Commits

Author SHA1 Message Date
Matt Borland
b0a8e5299b Fix non-finite value testing, and add testing 2023-06-21 11:14:45 +02:00
Matt Borland
43a0386a88 Refactor to_chars_hex to remove duplication 2023-06-21 11:09:25 +02:00
Matt Borland
0689eca432 Add bounds checking 2023-06-20 13:31:03 +02:00
Matt Borland
ee5d2f4785 Implement fixed precision for long doubles 2023-06-20 12:31:32 +02:00
Matt Borland
a76c85252c Implement precision arguments for long doubles 2023-06-20 11:26:11 +02:00
Matt Borland
5114152ffb Add precision in scientific mode 2023-06-20 09:57:32 +02:00
Matt Borland
a7c06c30aa Add precision argument to general case 2023-06-19 16:51:00 +02:00
Matt Borland
38f04ba2a2 Add debug macros 2023-06-16 15:19:01 +02:00
Matt Borland
b2e69b6e4a Add fixed formatting handling 2023-06-16 14:47:06 +02:00
Matt Borland
f4496ef9e4 Add 80-bit long double code path in to_chars_hex and add testing 2023-06-15 17:00:57 +02:00
Matt Borland
fad315a535 Add 128 bit hex specialization 2023-06-15 16:26:54 +02:00
Matt Borland
ca7748ba2f Improve fallback path 2023-06-15 11:28:18 +02:00
Matt Borland
d5c7a98a75 Used __float128 as intermediate representation 2023-06-14 14:15:26 +02:00
Matt Borland
326741351a Add std::float128_t overloads 2023-06-14 13:41:31 +02:00
Matt Borland
9081ece448 Improve printing of single character 2023-06-14 13:00:18 +02:00
Matt Borland
ca2021f6b1 Add bounds checking in generic_to_chars 2023-06-13 15:55:40 +02:00
Matt Borland
6456fddcc8 Add __float128 from_chars stub impl 2023-06-13 08:54:52 +02:00
Matt Borland
3808e0ef81 Handle non-finite __float128 values 2023-06-12 16:37:00 +02:00
Matt Borland
d104bda6e1 Refactor handling of non-finite values 2023-06-12 15:20:17 +02:00
Matt Borland
d02b341b90 Fix merge conflict 2023-06-12 11:25:02 +02:00
Matt Borland
60be888077 Remove headers for MSVC and fix conversion 2023-06-12 10:59:43 +02:00
Matt Borland
8518588e83 Remove workarounds for missing u128 type 2023-06-12 10:37:09 +02:00
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
4a53e7b962 Add 16-bit overloads 2023-06-05 17:16:48 +02:00
Matt Borland
bf691d2a83 Add overloads for std::float32_t and std::float64_t 2023-06-05 16:28:00 +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