Commit Graph

902 Commits

Author SHA1 Message Date
Matt Borland
f951969211 Improve integer to_chars efficiency 2023-08-07 10:31:25 -04:00
Matt Borland
43042ed358 Merge pull request #60 from mborland/from_chars_ld
128-bit from_chars
2023-08-04 13:33:35 -04:00
Matt Borland
371e44332e Add cascade of spot checks 2023-08-04 11:58:13 -04:00
Matt Borland
089ae585e0 Re-arrange exception logic to come first 2023-08-04 11:57:58 -04:00
Matt Borland
8294374451 Change exp type 2023-08-04 11:12:26 -04:00
Matt Borland
50a194b205 Use fixed formatting for small exponents
Closes: #64
2023-08-04 10:50:58 -04:00
Matt Borland
422cfc22fd Add testing of distribution in the range [0,1) 2023-08-04 09:36:54 -04:00
Matt Borland
034568cd9d Add 128-bit testing for issue #37 2023-08-02 14:02:20 -04:00
Matt Borland
39dc6c3a78 Fix handling of issue #37 2023-08-02 13:16:51 -04:00
Matt Borland
693d742033 Enable additional testing 2023-08-02 13:16:32 -04:00
Matt Borland
b26c7c2fa8 Update benchmarks 2023-08-02 11:20:27 -04:00
Matt Borland
a7115c54fd Refactoring 2023-08-02 09:57:57 -04:00
Matt Borland
58811ea0d9 Workaround for -Wtautological-constant-compare on LLVM Intel 2023-08-01 13:25:03 -04:00
Matt Borland
9696c3f3ac Add static_assert for IEEE 754 compliance 2023-08-01 11:05:35 -04:00
Matt Borland
7e29d7941f Update docs 2023-08-01 11:05:20 -04:00
Matt Borland
c92eb9eca2 Merge pull request #63 from cppalliance/arm64
Change macro for __umulh
2023-08-01 10:54:39 -04:00
Matt Borland
dba47734d9 Change macro for __umulh 2023-08-01 10:09:10 -04:00
Matt Borland
843b9421f9 Remove cruft 2023-07-31 16:48:06 -04:00
Matt Borland
dc219b2c46 Remove FLT_EVAL_METHOD handling 2023-07-31 16:40:13 -04:00
Matt Borland
fe0b93584e Remove unused conversion function 2023-07-31 16:11:09 -04:00
Matt Borland
879237feb7 Improve 128-bit clinger 2023-07-31 16:08:27 -04:00
Matt Borland
3fcebbc286 Use full range of clinger fast path 2023-07-31 15:44:24 -04:00
Matt Borland
7586c0ebfc Add more random value testing 2023-07-07 16:55:05 +02:00
Matt Borland
2f78b92083 Change testing macro 2023-07-07 16:09:42 +02:00
Matt Borland
1ee89ec557 Add charconv comparison 2023-07-07 15:53:52 +02:00
Matt Borland
3d4a655ffe Restore full testing 2023-07-07 14:58:48 +02:00
Matt Borland
d71c63761d Reset errno before strtold is called 2023-07-07 14:36:29 +02:00
Matt Borland
33fef7e733 Print error code on failure 2023-07-07 14:24:19 +02:00
Matt Borland
90eb1c68d7 Change test macro 2023-07-07 14:09:17 +02:00
Matt Borland
86d697b139 Reduce control statements for large and small values 2023-07-07 13:50:10 +02:00
Matt Borland
9c1062985d Fix ulp distance calculation 2023-07-07 13:28:42 +02:00
Matt Borland
fe833032fd Fix no_sanitize attribute for clang < 3.7 2023-07-07 13:22:48 +02:00
Matt Borland
ba031c3822 Remove cruft 2023-07-07 13:19:09 +02:00
Matt Borland
7778836172 Use fabsq instead of std::abs 2023-07-07 13:13:01 +02:00
Matt Borland
4fb7642570 Remove static assertion for __float128 2023-07-07 11:53:14 +02:00
Matt Borland
faafb008d1 Ignore -Wattributes 2023-07-07 11:51:52 +02:00
Matt Borland
666a7475ca Mark float distance calculations as no_sanitize 2023-07-07 10:45:48 +02:00
Matt Borland
67d5c6243a Fix return value on failure 2023-07-07 10:39:08 +02:00
Matt Borland
65a7264829 Fix offset for powers implicit in the mantissa 2023-07-07 10:32:09 +02:00
Matt Borland
97cd8a4c94 Remove constexpr from conversion operator 2023-07-06 17:01:42 +02:00
Matt Borland
08dcd6ea4a Add float distance for __float128 2023-07-06 16:58:58 +02:00
Matt Borland
b69b9fd5db Add explicit specialization for __float128 2023-07-06 16:58:13 +02:00
Matt Borland
6ed41ab8fa Fix __float128 specialization 2023-07-06 16:57:50 +02:00
Matt Borland
65abeb8f8e Add __float128 conversion operator 2023-07-06 16:57:27 +02:00
Matt Borland
ae45b11c92 Expand types and restore complete testing 2023-07-06 16:38:54 +02:00
Matt Borland
3b16386e92 Use simpler float distance calculation 2023-07-06 16:01:20 +02:00
Matt Borland
30b45d5554 Add bit size guards 2023-07-06 15:57:17 +02:00
Matt Borland
31f51d14d0 Specialize long double testing 2023-07-06 15:26:01 +02:00
Matt Borland
1a4671024d Improve rounding to 1 ULP 2023-07-06 15:07:45 +02:00
Matt Borland
31fa9edadd Use single mantissa 2023-07-06 14:17:29 +02:00