Commit Graph

  • 03a906bbaa Cast boundaries for std::float128_t testing Matt Borland 2023-06-14 15:07:23 +02:00
  • e4e1e77816 Add additional std::float128_t testing Matt Borland 2023-06-14 14:39:43 +02:00
  • d5c7a98a75 Used __float128 as intermediate representation Matt Borland 2023-06-14 14:15:26 +02:00
  • 326741351a Add std::float128_t overloads Matt Borland 2023-06-14 13:41:31 +02:00
  • 9081ece448 Improve printing of single character Matt Borland 2023-06-14 13:00:18 +02:00
  • 4c182fd5de Enable fixed testing Matt Borland 2023-06-14 12:53:53 +02:00
  • 5b43f56330 Enable hex testing Matt Borland 2023-06-14 12:52:57 +02:00
  • ded399f0b1 Add 128-bit sprintf testing Matt Borland 2023-06-14 11:32:56 +02:00
  • 61dcb1131b Use quadmath macros instead of numeric_limits Matt Borland 2023-06-13 16:45:24 +02:00
  • ca2021f6b1 Add bounds checking in generic_to_chars Matt Borland 2023-06-13 15:55:40 +02:00
  • ea58570900 Add GNU ASAN run Matt Borland 2023-06-13 15:14:38 +02:00
  • ba791fcb5f Add GCC 13 GNU testing Matt Borland 2023-06-13 15:08:27 +02:00
  • abd62291c1 Change __float128 bit layout Matt Borland 2023-06-13 14:45:32 +02:00
  • b4443c75a1 Add ibm128 overload Matt Borland 2023-06-13 12:05:06 +02:00
  • 6b2646e6f4 Add guards for old platforms Matt Borland 2023-06-13 11:58:54 +02:00
  • 0f26693767 Use quadmath_snprintf when to_chars is not available for errors Matt Borland 2023-06-13 11:39:25 +02:00
  • 0372d6560c Add __float128 test suite Matt Borland 2023-06-13 11:31:04 +02:00
  • 6456fddcc8 Add __float128 from_chars stub impl Matt Borland 2023-06-13 08:54:52 +02:00
  • dce81a54b2 Use __builtin_nansq for test when available Matt Borland 2023-06-13 08:46:01 +02:00
  • c3323ab049 Disable extensions in tests cmake file Matt Borland 2023-06-12 17:21:48 +02:00
  • ca072ee2e4 Use quadmath issignaling and prevent macro sub Matt Borland 2023-06-12 17:21:30 +02:00
  • ebc74e8604 inline to_chars_finite Matt Borland 2023-06-12 17:02:54 +02:00
  • ebf38632f0 Add __float128 testing Matt Borland 2023-06-12 16:37:18 +02:00
  • 3808e0ef81 Handle non-finite __float128 values Matt Borland 2023-06-12 16:37:00 +02:00
  • ec4550ff07 Add issignaling handling for __float128 Matt Borland 2023-06-12 16:36:18 +02:00
  • 7eb35006db Add bit layout for binary128 Matt Borland 2023-06-12 16:36:02 +02:00
  • 3e8b9cd880 Inline ryu functions Matt Borland 2023-06-12 15:25:56 +02:00
  • d104bda6e1 Refactor handling of non-finite values Matt Borland 2023-06-12 15:20:17 +02:00
  • f73af1a67d Fix negative shift value UB Matt Borland 2023-06-12 15:12:33 +02:00
  • 35cae5d3d8 Add hex testing Matt Borland 2023-06-12 14:36:30 +02:00
  • d7b09c825e Test fixed formating Matt Borland 2023-06-12 14:02:57 +02:00
  • d02b341b90 Fix merge conflict Matt Borland 2023-06-12 11:25:02 +02:00
  • f5453de857 Merge pull request #58 from mborland/stdfloat Matt Borland 2023-06-12 11:24:08 +02:00
  • 3907b9e678 Fix non-trivial memcpy Matt Borland 2023-06-12 11:15:30 +02:00
  • 60be888077 Remove headers for MSVC and fix conversion Matt Borland 2023-06-12 10:59:43 +02:00
  • 8518588e83 Remove workarounds for missing u128 type Matt Borland 2023-06-12 10:37:09 +02:00
  • c03baf1c80 Remove MSVC intrinsics that stop operator* from being constexpr Matt Borland 2023-06-12 10:36:41 +02:00
  • 47665531f9 Enable use of uint128 or unsigned __int128 Matt Borland 2023-06-09 17:13:49 +02:00
  • 19ae4fb9be Fix uint128 num_digits impl Matt Borland 2023-06-09 17:13:18 +02:00
  • 5d9a5bedb0 Add operator bool Matt Borland 2023-06-09 17:12:57 +02:00
  • 5673871286 Use alias for required 128-bit type Matt Borland 2023-06-09 16:21:29 +02:00
  • 5a33d57049 Add tests for numeric_limits Matt Borland 2023-06-09 15:49:05 +02:00
  • 1ba841b2c4 Specialize numeric_limits Matt Borland 2023-06-09 15:43:24 +02:00
  • 23e67cbf83 Fix ambiguous overload Matt Borland 2023-06-09 13:31:14 +02:00
  • cbee82ab4a Fix 32-bit testing Matt Borland 2023-06-09 13:31:05 +02:00
  • 238a88c5e5 Add trivial struct for memcpy and test Matt Borland 2023-06-09 13:06:40 +02:00
  • b80260513e Add bitwise operator test Matt Borland 2023-06-09 13:06:19 +02:00
  • c787bc7434 Fix mul and div tests Matt Borland 2023-06-09 11:03:02 +02:00
  • 5582483224 Compare to unsigned __int128 Matt Borland 2023-06-09 10:17:04 +02:00
  • 04e59d69f2 Fix mul operator Matt Borland 2023-06-09 10:12:10 +02:00
  • 0fc06cc7ed Add increment operators Matt Borland 2023-06-09 09:47:24 +02:00
  • 1325c38393 Add testing framework Matt Borland 2023-06-09 08:32:07 +02:00
  • a5e07cb7a8 Change constexpr with intrinsics Matt Borland 2023-06-09 08:09:40 +02:00
  • 34523c570d Remove GCC 4.X testing Matt Borland 2023-06-09 07:28:57 +02:00
  • 810d27c1fa Remove constexpr from operator+=(uint64_t) Matt Borland 2023-06-08 17:24:31 +02:00
  • 292f656252 Add overload for builtin 128 bit types Matt Borland 2023-06-08 17:12:37 +02:00
  • 6d7499127a init variables in constexpr functions Matt Borland 2023-06-08 16:24:04 +02:00
  • 5de6af388b Add mul operator Matt Borland 2023-06-08 16:20:38 +02:00
  • 96c068d972 Add binary operators Matt Borland 2023-06-08 15:53:04 +02:00
  • 89ec087eee Add logical and arithmetic operators Matt Borland 2023-06-08 14:48:01 +02:00
  • 4b5e9da265 Undef macros Matt Borland 2023-06-08 14:46:40 +02:00
  • c63fca0d38 Add comparison operators Matt Borland 2023-06-08 14:45:44 +02:00
  • eb03bb8c73 Add conversion operators Matt Borland 2023-06-08 14:15:41 +02:00
  • 264194e496 Add assignment operators Matt Borland 2023-06-08 14:06:52 +02:00
  • ab7a330e51 Add constructors Matt Borland 2023-06-08 14:05:23 +02:00
  • 35312cb5fd Add overload for emulated128 in num_digits Matt Borland 2023-06-08 13:27:28 +02:00
  • d6e9efa791 Add BOOST_CHARCONV_ASSUME macro Matt Borland 2023-06-08 13:27:05 +02:00
  • 7b0a1f5748 Fix range of invalid values Matt Borland 2023-06-07 16:32:59 +02:00
  • 9fbaf88227 Fix 32-bit precision arguments Matt Borland 2023-06-07 15:25:04 +02:00
  • fde2825aee Add testing for general and scientific formats Matt Borland 2023-06-07 11:26:07 +02:00
  • c4b68401e3 __float128 fixes Matt Borland 2023-06-07 10:38:49 +02:00
  • 090fb18ac3 Add quadmath library to build Matt Borland 2023-06-07 10:15:33 +02:00
  • 6df33e8d08 Add snprintf fallback Matt Borland 2023-06-07 10:10:27 +02:00
  • 805b0ad74e Disable GCC13 excess precision Matt Borland 2023-06-06 17:35:12 +02:00
  • 92ab72d213 Disable 32 bit test with GCC versions that have the wrong value of sNaN Matt Borland 2023-06-06 14:59:24 +02:00
  • ef5e521c6e Implement issignaling rather than using glibc macro Matt Borland 2023-06-06 08:40:12 +02:00
  • 02f78d0a35 Fix 128 bit inf handling Matt Borland 2023-06-05 18:10:37 +02:00
  • 40eab08038 Suppress GCC13 -Wmaybe-uninitialized in test Matt Borland 2023-06-05 17:45:05 +02:00
  • 6247821243 Add GCC 13 to drone CI Matt Borland 2023-06-05 17:29:58 +02:00
  • 4a53e7b962 Add 16-bit overloads Matt Borland 2023-06-05 17:16:48 +02:00
  • 847bb87fca Add testing Matt Borland 2023-06-05 16:28:10 +02:00
  • bf691d2a83 Add overloads for std::float32_t and std::float64_t Matt Borland 2023-06-05 16:25:21 +02:00
  • cb39cdd059 Fix 128 bit nan handling Matt Borland 2023-06-02 14:17:35 +02:00
  • e922319341 Add qualification for isnan and signbit Matt Borland 2023-06-02 12:51:50 +02:00
  • e5b4fffc79 Fix 32 bit nan handling Matt Borland 2023-06-02 10:54:14 +02:00
  • 4803769f8b Merge pull request #57 from mborland/sources Matt Borland 2023-06-02 10:29:36 +02:00
  • 553559304f Require __uint128 to use __float128 Matt Borland 2023-06-02 10:25:29 +02:00
  • 37f1a158e1 Add long double non-finite values testing Matt Borland 2023-06-02 10:21:08 +02:00
  • 64dc9a4eff Add __float128 overload Matt Borland 2023-06-02 10:04:03 +02:00
  • bc75e93e6e Add a sources page to the docs Matt Borland 2023-06-02 09:49:56 +02:00
  • c742fee1fa Merge pull request #43 from mborland/hexfloats Matt Borland 2023-06-02 09:34:08 +02:00
  • 0f07bc11e3 Add STL comparison tests Matt Borland 2023-06-01 17:07:40 +02:00
  • 2e3636a90b Reduce code duplication with existing num_digits implementations Matt Borland 2023-06-01 17:05:49 +02:00
  • db8db66c9a Adjust values of mantissa for snans Matt Borland 2023-06-01 16:54:58 +02:00
  • c2b9e1d764 Fix macros for 32 bit systems Matt Borland 2023-06-01 15:54:51 +02:00
  • b5b2a0a7c2 Add 80 and 128 bit implementation Matt Borland 2023-06-01 15:33:31 +02:00
  • 6a0ef32520 Change formatting of exponent Matt Borland 2023-06-01 15:09:03 +02:00
  • c250f12616 Add __float128 overload Matt Borland 2023-06-01 14:57:35 +02:00
  • 71d3cf1b72 Change handling of nans and ints Matt Borland 2023-06-01 14:47:14 +02:00
  • ccfcc0ff1f port ryu_generic_128 Matt Borland 2023-06-01 14:23:36 +02:00