Commit Graph

747 Commits

Author SHA1 Message Date
Matt Borland
04fdb8d209 Enable testing 2023-06-15 16:33:21 +02:00
Matt Borland
fad315a535 Add 128 bit hex specialization 2023-06-15 16:26:54 +02:00
Matt Borland
1638ad597a Refactor detail namespace 2023-06-15 16:00:35 +02:00
Matt Borland
d772892d0a Add struct for ieee754_binary128 parameters 2023-06-15 15:59:53 +02:00
Matt Borland
735d0343c9 Suppress MSVC 14.1 warning C4307 2023-06-15 14:41:05 +02:00
Matt Borland
61786ea8b3 Fix digit counting for emulated u128 2023-06-15 14:28:23 +02:00
Matt Borland
ca7748ba2f Improve fallback path 2023-06-15 11:28:18 +02:00
Matt Borland
4f8f4f16e1 Fix use of numeric_limits 2023-06-15 11:28:08 +02:00
Matt Borland
58f8195a76 Change BV testing and remove tiny range 2023-06-14 16:54:06 +02:00
Matt Borland
4d8f3df554 Fix test error 2023-06-14 16:08:58 +02:00
Matt Borland
364fb33bba Update benchmarks to include std::float128_t 2023-06-14 16:02:48 +02:00
Matt Borland
f033ed6a4b Test against <charconv> 2023-06-14 15:12:02 +02:00
Matt Borland
ca938f9f24 Fix std::float128_t domain value 2023-06-14 15:11:51 +02:00
Matt Borland
03a906bbaa Cast boundaries for std::float128_t testing 2023-06-14 15:07:23 +02:00
Matt Borland
e4e1e77816 Add additional std::float128_t testing 2023-06-14 14:39:55 +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
4c182fd5de Enable fixed testing 2023-06-14 12:53:53 +02:00
Matt Borland
5b43f56330 Enable hex testing 2023-06-14 12:52:57 +02:00
Matt Borland
ded399f0b1 Add 128-bit sprintf testing 2023-06-14 11:32:56 +02:00
Matt Borland
61dcb1131b Use quadmath macros instead of numeric_limits 2023-06-13 16:45:24 +02:00
Matt Borland
ca2021f6b1 Add bounds checking in generic_to_chars 2023-06-13 15:55:40 +02:00
Matt Borland
ea58570900 Add GNU ASAN run 2023-06-13 15:14:38 +02:00
Matt Borland
ba791fcb5f Add GCC 13 GNU testing 2023-06-13 15:08:27 +02:00
Matt Borland
abd62291c1 Change __float128 bit layout 2023-06-13 14:45:32 +02:00
Matt Borland
b4443c75a1 Add ibm128 overload 2023-06-13 12:05:06 +02:00
Matt Borland
6b2646e6f4 Add guards for old platforms 2023-06-13 11:58:54 +02:00
Matt Borland
0f26693767 Use quadmath_snprintf when to_chars is not available for errors 2023-06-13 11:39:25 +02:00
Matt Borland
0372d6560c Add __float128 test suite
[ci skip]
2023-06-13 11:31:15 +02:00
Matt Borland
6456fddcc8 Add __float128 from_chars stub impl 2023-06-13 08:54:52 +02:00
Matt Borland
dce81a54b2 Use __builtin_nansq for test when available 2023-06-13 08:46:01 +02:00
Matt Borland
c3323ab049 Disable extensions in tests cmake file 2023-06-12 17:21:48 +02:00
Matt Borland
ca072ee2e4 Use quadmath issignaling and prevent macro sub 2023-06-12 17:21:30 +02:00
Matt Borland
ebc74e8604 inline to_chars_finite 2023-06-12 17:02:54 +02:00
Matt Borland
ebf38632f0 Add __float128 testing 2023-06-12 16:37:18 +02:00
Matt Borland
3808e0ef81 Handle non-finite __float128 values 2023-06-12 16:37:00 +02:00
Matt Borland
ec4550ff07 Add issignaling handling for __float128 2023-06-12 16:36:18 +02:00
Matt Borland
7eb35006db Add bit layout for binary128 2023-06-12 16:36:02 +02:00
Matt Borland
3e8b9cd880 Inline ryu functions 2023-06-12 15:25:56 +02:00
Matt Borland
d104bda6e1 Refactor handling of non-finite values 2023-06-12 15:20:17 +02:00
Matt Borland
f73af1a67d Fix negative shift value UB 2023-06-12 15:12:33 +02:00
Matt Borland
35cae5d3d8 Add hex testing 2023-06-12 14:36:30 +02:00
Matt Borland
d7b09c825e Test fixed formating 2023-06-12 14:02:57 +02:00
Matt Borland
d02b341b90 Fix merge conflict 2023-06-12 11:25:02 +02:00
Matt Borland
f5453de857 Merge pull request #58 from mborland/stdfloat
Add overloads for <stdfloat>
2023-06-12 11:24:08 +02:00
Matt Borland
3907b9e678 Fix non-trivial memcpy 2023-06-12 11:15:30 +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
c03baf1c80 Remove MSVC intrinsics that stop operator* from being constexpr 2023-06-12 10:36:41 +02:00