Commit Graph

  • f5e197177b Merge pull request #167 from boostorg/166 Matt Borland 2024-02-20 09:58:50 +01:00
  • 1a83f89a15 Fix __float128 test case Matt Borland 2024-02-20 08:51:02 +01:00
  • 95ed8ee122 Fix to_chars errc value for overflow Matt Borland 2024-02-20 08:34:33 +01:00
  • 43de1b883f Fix some issues about fixed-precision formatting Junekey Jeon 2024-02-19 18:07:05 -08:00
  • 0e3d9cffd2 Merge pull request #164 from boostorg/158.2 Matt Borland 2024-02-16 03:42:23 -05:00
  • 3293512086 Fix implicit sign conversion Matt Borland 2024-02-16 07:39:51 +01:00
  • 41f0ed54c7 Invert exponent logic for digit reduction Matt Borland 2024-02-16 07:33:18 +01:00
  • 8f3c4ce044 Fix for fixed precision with positive exponent Matt Borland 2024-02-15 12:11:45 +01:00
  • 3ee1366b4b Remove manual rounding Matt Borland 2024-02-15 12:09:39 +01:00
  • 351b2b4161 Adjust digits to produce based on correct exponent calculation Matt Borland 2024-02-15 12:09:29 +01:00
  • bef2775882 Merge pull request #161 from boostorg/158 Matt Borland 2024-02-15 06:06:44 -05:00
  • 55ff2b6547 Increase range of test values Matt Borland 2024-02-15 11:07:29 +01:00
  • e7769e381b Use floff to round for us by adjusting the remaining digit with exp Matt Borland 2024-02-14 12:01:32 +01:00
  • eb82ef821b Adjust rounding method Matt Borland 2024-02-14 10:59:40 +01:00
  • 4e6e2b55e8 Adjust calculation of remaining digits Matt Borland 2024-02-14 11:24:22 +01:00
  • 54f004a05e Invert logic Matt Borland 2024-02-14 10:38:52 +01:00
  • 503ccb8d75 Change tested values Matt Borland 2024-02-14 09:58:48 +01:00
  • 6ff47d1dbe Change the min_fractional_value to 1e-4 to match printf docs Matt Borland 2024-02-14 08:48:40 +01:00
  • 0dac3d5dd4 Add TODO for long double testing Matt Borland 2024-02-13 08:53:29 +01:00
  • 83914114f0 Fix case where we forced general into fixed formatting Matt Borland 2024-02-12 13:07:06 +01:00
  • 60ee284e4e Merge pull request #163 from boostorg/docs Matt Borland 2024-02-12 06:44:38 -05:00
  • c355654ee7 Add randomized general formatting tests Matt Borland 2024-02-12 12:27:49 +01:00
  • 345e54b5e9 Only append zeros if needed Matt Borland 2024-02-12 12:27:33 +01:00
  • b73f2e6eb2 Add additional spot tests Matt Borland 2024-02-12 12:22:27 +01:00
  • b6d1daca33 Add extended range scientific formatting testing Matt Borland 2024-02-12 11:29:35 +01:00
  • d16889d59a Update hyperlinks in docs Matt Borland 2024-02-12 11:15:49 +01:00
  • 55a9f5306f Update README Matt Borland 2024-02-12 11:13:49 +01:00
  • 8ce2c8ca46 Fix call to abs for old compilers Matt Borland 2024-02-12 10:59:32 +01:00
  • 67f84c1bae Fix precision of negative values Matt Borland 2024-02-12 10:51:29 +01:00
  • 45cdda8369 Consolidate testing Matt Borland 2024-02-12 10:51:11 +01:00
  • 2e03756d05 Fix implicit conversion Matt Borland 2024-02-12 10:24:00 +01:00
  • 3c316b5983 Remove TODO since issue is now closed Matt Borland 2024-02-12 09:59:20 +01:00
  • a81a0afe62 Add fixed precision buffer overflow tests Matt Borland 2024-02-12 09:36:56 +01:00
  • 7c7f9243fe Add bounds checking to floff Matt Borland 2024-02-12 09:36:35 +01:00
  • 8e72a428f1 Refactor logic Matt Borland 2024-02-12 09:15:35 +01:00
  • a6cfcb2f11 Implement negative exponent handling Matt Borland 2024-02-12 09:13:10 +01:00
  • 0cd6767c9a Fix the precision calculation Matt Borland 2024-02-12 09:12:45 +01:00
  • b9928e5a60 Add additional testing for positive exps Matt Borland 2024-02-09 12:09:33 +01:00
  • d9c1b757b6 Handle the positive exponent case Matt Borland 2024-02-09 12:09:17 +01:00
  • 5cee0db0a5 Change handling of the case with specified precision Matt Borland 2024-02-09 12:09:01 +01:00
  • be06109981 Add test set Matt Borland 2024-02-07 09:21:37 +01:00
  • 02c3f97819 Merge pull request #159 from boostorg/154 Matt Borland 2024-02-09 05:08:14 -05:00
  • 547b0adf91 Fix __float128 exp extraction Matt Borland 2024-02-09 10:29:03 +01:00
  • b527700338 Fix 128-bit long double case Matt Borland 2024-02-09 10:22:45 +01:00
  • 6407f8cd06 Use a mask to extract the exponent Matt Borland 2024-02-09 09:59:33 +01:00
  • f848d7212e Fix bit layout Matt Borland 2024-02-09 09:32:19 +01:00
  • e58740f633 Limit platforms tested Matt Borland 2024-02-08 11:15:04 +01:00
  • 9807516bc4 Fix precision value Matt Borland 2024-02-08 11:04:16 +01:00
  • 0b819ab9c9 Fix 64/128-bit platform syntax Matt Borland 2024-02-08 11:04:05 +01:00
  • c3eca5acb9 Add additional testing Matt Borland 2024-02-08 11:03:44 +01:00
  • 498efefbab Fix calculation of integer nibble Matt Borland 2024-02-08 10:41:12 +01:00
  • 2535358bf1 Fix calculation of unbiased exponent Matt Borland 2024-02-08 09:48:19 +01:00
  • 132ef5125f Fix printing of integral portion nibble Matt Borland 2024-02-08 09:41:29 +01:00
  • 4751b072dc Compensate for integer bit Matt Borland 2024-02-07 11:56:15 +01:00
  • 6edd231a0c Add hex_precision for 80-bit long double Matt Borland 2024-02-07 11:56:00 +01:00
  • 4b97bf9f86 Add test case Matt Borland 2024-02-07 11:21:27 +01:00
  • 51fc3f40ba Merge pull request #153 from boostorg/152 Matt Borland 2024-02-07 13:10:16 +01:00
  • 29be488929 Ignore MSVC warning C4127 Matt Borland 2024-02-07 11:13:55 +01:00
  • 4d66615460 Fix testing for platforms with 64-bit long double Matt Borland 2024-02-07 11:01:57 +01:00
  • 75a78f0395 Skip long double hex testing since there is related outstanding issue Matt Borland 2024-02-07 10:25:03 +01:00
  • 1501c5a2ae Add additional testing for MinGW failures Matt Borland 2024-02-07 09:58:44 +01:00
  • 4c2c3cf5a6 Increase precision of error message Matt Borland 2024-02-07 09:10:26 +01:00
  • 4451f25d87 Remove boost random since it fails ASAN Matt Borland 2024-02-07 09:05:16 +01:00
  • 094a8a7658 Move float128 testing into its own file Matt Borland 2024-02-06 10:59:47 +01:00
  • 04952ae6e5 Change return val for error in RYU Matt Borland 2024-02-06 09:26:39 +01:00
  • f76d388ecb Add boost.random to test CML Matt Borland 2024-02-06 09:21:18 +01:00
  • db41374c0a Add limits overload for __float128 Matt Borland 2024-02-06 09:20:59 +01:00
  • b717e88e84 Add min buffer size test set for __float128 Matt Borland 2024-02-06 09:13:25 +01:00
  • eec4f2cae4 Specialize __float128 test Matt Borland 2024-02-06 08:59:32 +01:00
  • 29616508ab Fix comparison Matt Borland 2024-02-06 08:37:08 +01:00
  • ed59b7b9c2 Improve debug-ability Matt Borland 2024-02-06 08:36:55 +01:00
  • eeddadf847 Change range for MSVC Matt Borland 2024-02-05 12:23:11 +01:00
  • 1fb4a31ac5 Ignore MSVC C4127 Matt Borland 2024-02-05 12:10:38 +01:00
  • fe19e776d2 Fix __float128 sanity check Matt Borland 2024-02-05 12:05:57 +01:00
  • 92415b8657 Fix over counting in buffer sizing Matt Borland 2024-02-05 11:42:31 +01:00
  • 514e61cee5 Add debug statement Matt Borland 2024-02-05 10:20:27 +01:00
  • ff22c4bf82 Add bounds checking to non-finite RYU handling Matt Borland 2024-02-05 09:58:25 +01:00
  • bd5c741f59 Add test for random number to fit in minimum size buffer Matt Borland 2024-02-05 09:22:47 +01:00
  • d6b37f7012 Reorder checks to allow non-finite numbers in small buffers Matt Borland 2024-02-05 09:16:19 +01:00
  • f4171a60eb Fix long double function call Matt Borland 2024-02-02 12:11:53 +01:00
  • 02c6070500 Add bounds checking to dragonbox Matt Borland 2024-02-02 12:07:06 +01:00
  • ffbd977615 Add total length buffer check for fixed formatting Matt Borland 2024-02-02 11:46:02 +01:00
  • 420646e17e Add first approximation of required buffer length Matt Borland 2024-02-02 11:40:34 +01:00
  • a98dccdb11 Add non-finite values test Matt Borland 2024-02-02 11:30:34 +01:00
  • 2e74155a36 Merge pull request #157 from cppalliance/BF16 Matt Borland 2024-02-06 13:32:42 +01:00
  • e81b898e68 Add cap to output length of brainfloat16 to_chars Matt Borland 2024-02-06 12:11:57 +01:00
  • c909ab9454 Add test set Matt Borland 2024-02-06 12:11:31 +01:00
  • f51acb2520 Merge pull request #155 from cppalliance/sources Matt Borland 2024-02-05 11:22:36 +01:00
  • c5154acb2b Add dragonbox, floff and Junekey Jeon to sources and acknowledgements Matt Borland 2024-02-05 10:04:15 +01:00
  • 9859e27a1b Merge pull request #151 from cppalliance/ml_2 Matt Borland 2024-02-02 11:44:30 +01:00
  • 0716ed2ee9 Remove __float128 spot check since stl does not support Matt Borland 2024-02-02 11:07:00 +01:00
  • 67d09878fc Fix float128 hex exponent Matt Borland 2024-02-02 09:42:30 +01:00
  • 240d62a46d Add additional float128 testing Matt Borland 2024-02-02 09:39:33 +01:00
  • 8f5dde7d20 Merge pull request #150 from cppalliance/ml_1 Matt Borland 2024-02-02 09:44:02 +01:00
  • 825a24b857 Fix negative sign being overwritten Matt Borland 2024-02-02 09:06:10 +01:00
  • d3914267f7 Add tests for general and specific negative values Matt Borland 2024-02-02 09:05:55 +01:00
  • a26f9d6aa8 Merge pull request #147 from cppalliance/string_view Matt Borland 2024-02-02 08:05:47 +01:00
  • aa93e3aa6e Fix floating-point definitions Matt Borland 2024-01-31 11:28:55 +01:00
  • 0c5e345bcf Fix potential exponent overflow in 32-bit case Matt Borland 2024-01-31 11:05:08 +01:00
  • 58e3c6580d Fix values being compared Matt Borland 2024-01-31 09:45:56 +01:00