Commit Graph

  • 809dc65dd5 Fix starting value of V and test operator Matt Borland 2023-05-17 16:13:09 +02:00
  • 686c515c0c Add long double subnormal range for conversion to +/- 0 Matt Borland 2023-05-17 10:35:18 +02:00
  • 1edb1e70eb Explain how we are diverging from the cpp standard in docs Matt Borland 2023-05-17 09:23:04 +02:00
  • 9a98e90adc Fix long double testing Matt Borland 2023-05-17 09:22:46 +02:00
  • c5214a9500 Make a note in the docs that we diverge from the standard on ERANGE Matt Borland 2023-05-17 09:08:15 +02:00
  • 72a62c91d5 Fix handling for floats Matt Borland 2023-05-17 08:59:50 +02:00
  • 99e54aa603 Add long double test case Matt Borland 2023-05-17 08:49:41 +02:00
  • 3a00fa7f30 Add handling for doubles Matt Borland 2023-05-15 16:42:54 +02:00
  • ebede617c9 Add test cases Matt Borland 2023-05-15 16:00:43 +02:00
  • 38b99a5c98 Merge pull request #40 from mborland/39 Matt Borland 2023-05-16 13:21:24 +02:00
  • f0d0388898 Add handling for 64-bit long doubles Matt Borland 2023-05-16 11:00:44 +02:00
  • ccfc40d78f Add long double testing Matt Borland 2023-05-16 08:27:18 +02:00
  • 10ca6f1346 Suppress warning C4244 from BOOST_IF_CONSTEXPR expansion Matt Borland 2023-05-15 15:55:41 +02:00
  • 3c46a4c918 Add full testing on floats Matt Borland 2023-05-15 15:24:27 +02:00
  • 14190f4acb Add full check ULP test suite Matt Borland 2023-05-15 13:45:44 +02:00
  • abf047cb04 Change handling of exponent when significand does not fit the buffer Matt Borland 2023-05-15 13:26:08 +02:00
  • ed761823cd Add test values from issue Matt Borland 2023-05-15 12:52:08 +02:00
  • 8711c0a469 Merge pull request #38 from mborland/31 Matt Borland 2023-05-15 13:48:04 +02:00
  • 60c16b7767 Fix 64-bit and MSVC long double handling Matt Borland 2023-05-15 12:38:57 +02:00
  • 4b91f2310a Return EINVAL instead of ignoring parsing leading + sign Matt Borland 2023-05-12 13:44:19 +02:00
  • 956369309d Add tests for invalid values from leading plus sign Matt Borland 2023-05-12 13:36:35 +02:00
  • cdf0da31c6 Merge pull request #36 from mborland/29 Matt Borland 2023-05-12 13:43:09 +02:00
  • ea6b208b81 Merge pull request #35 from mborland/30 Matt Borland 2023-05-12 13:13:06 +02:00
  • dc7f2cd04b If value is EINVAL it should be returned unmodified Matt Borland 2023-05-12 13:00:03 +02:00
  • e4ab9c5b57 Add value without significand handling and test Matt Borland 2023-05-12 12:56:29 +02:00
  • 49be94043b Fix handling of a significand equal to 0 Matt Borland 2023-05-12 12:38:27 +02:00
  • e776e41361 Add test values reported in issue Matt Borland 2023-05-12 12:18:48 +02:00
  • f6eded71e6 Remove unused pack/unpack functions Matt Borland 2023-05-12 12:12:19 +02:00
  • 46df30e5a0 Merge pull request #28 from mborland/example Matt Borland 2023-05-11 11:48:21 +02:00
  • 32c9b9f3b6 Fix to_chars usage example Matt Borland 2023-05-11 11:01:17 +02:00
  • 84450fea91 Merge pull request #24 from mborland/float_to_chars Matt Borland 2023-05-09 14:41:42 +02:00
  • a611a63796 Replace uses of _MSC_VER with BOOST_MSVC Matt Borland 2023-05-09 13:10:23 +02:00
  • 8be90e476a Remove duplicate safebuffers macro Matt Borland 2023-05-09 13:05:11 +02:00
  • 63d96fc9cb Fix scientific format docs Matt Borland 2023-05-09 13:04:08 +02:00
  • c7f56dea0d Add tests from Boost.JSON stream_parser Matt Borland 2023-05-08 15:46:15 +02:00
  • b0d318ad6b Change handling of 0 depending on chars_format Matt Borland 2023-05-08 15:14:16 +02:00
  • 85cee5b63d Delete cmake.check_cache Matt Borland 2023-05-08 12:44:28 +02:00
  • 62c56f9dbb Disable warning C4127 Matt Borland 2023-05-05 16:13:51 +02:00
  • 246d9e0d96 Enable long doubles on 64-bit platforms Matt Borland 2023-05-05 15:49:50 +02:00
  • 2dd43da0a3 Remove superflous check Matt Borland 2023-05-05 15:02:47 +02:00
  • 41432242e6 Merge pull request #27 from mborland/powers Matt Borland 2023-05-05 14:59:59 +02:00
  • 5ee466ca4b Fix scientific notation handling of 0 power Matt Borland 2023-05-05 13:29:17 +02:00
  • 1f0e692ea9 Test every power of double Matt Borland 2023-05-05 13:25:17 +02:00
  • 1376e9d2ce Test every power of double Matt Borland 2023-05-05 11:57:49 +02:00
  • d1d8395bd9 Fix bounds on integer representation Matt Borland 2023-05-04 15:08:26 +02:00
  • c203f1609f Add Boost.JSON grind_double tests Matt Borland 2023-05-04 14:51:44 +02:00
  • 8058863041 Re-enable boost.json values testing Matt Borland 2023-05-04 14:25:13 +02:00
  • 672dc6f684 Fix merge conflicts Matt Borland 2023-05-04 13:32:23 +02:00
  • 9f18444d7b Merge pull request #26 from mborland/parser Matt Borland 2023-05-04 13:26:42 +02:00
  • 21133c6940 Suppress GCC 4.X -Wmissing-fied-initalizers Matt Borland 2023-05-04 12:52:23 +02:00
  • d3fdefff4b Suppress conversion warnings for C++11 and 14 Matt Borland 2023-05-04 09:46:39 +02:00
  • 1a893dcf47 Fix case where the power is equal to the number of leading zeros Matt Borland 2023-05-04 09:36:27 +02:00
  • 9a450e6d97 Don't use strlen when we already know the length of the buffer Matt Borland 2023-05-04 09:16:44 +02:00
  • 4fb8d92e76 Fix parsing large significand with fractional component Matt Borland 2023-05-04 09:06:12 +02:00
  • adea138d23 Add strtod fallback routine Matt Borland 2023-05-04 08:45:42 +02:00
  • d96646ec92 Refactor to reduce code duplication Matt Borland 2023-05-04 08:31:27 +02:00
  • 73ea28328f Fix case of number to 0th power Matt Borland 2023-05-03 17:19:23 +02:00
  • 6e0b501dd4 Add all remaining boost.json tests Matt Borland 2023-05-03 17:10:41 +02:00
  • b54f9dfc6c Fix case with leading zeros in integer and fraction e.g. 0.0001 Matt Borland 2023-05-03 16:56:22 +02:00
  • 4bda4e78cc Add more boost.json values Matt Borland 2023-05-03 16:41:52 +02:00
  • 894b1d72e4 Fix case of leading zeros in significand and fraction Matt Borland 2023-05-03 16:21:49 +02:00
  • 77493c0489 Fix linter warnings Matt Borland 2023-05-03 16:15:53 +02:00
  • 8cd2f9c646 Add test for failing value from boost.json tests Matt Borland 2023-05-03 15:56:27 +02:00
  • 97ba04cca3 Disable boost.json test as from_chars is failing Matt Borland 2023-05-02 15:49:38 +02:00
  • 30edfaeb32 Fix scientific formatting when exponent is 0 Matt Borland 2023-05-02 15:37:57 +02:00
  • 3a6821d6cd Add ryu regression tests Matt Borland 2023-05-02 15:19:26 +02:00
  • 5cc81c2887 Add additional testing from ryu Matt Borland 2023-05-02 15:02:46 +02:00
  • 0a3a447059 Print min 2 digits in the exponent Matt Borland 2023-05-02 15:01:28 +02:00
  • 1df4463233 Formatting fixes from doc preview Matt Borland 2023-05-01 17:02:32 +02:00
  • 300f94fd5a Fix source highlighting and update supported compilers Matt Borland 2023-05-01 16:40:45 +02:00
  • de3322d416 Update reference Matt Borland 2023-05-01 16:34:40 +02:00
  • b09cd1f50a Add from_chars floating point docs Matt Borland 2023-05-01 16:20:10 +02:00
  • ba51e5928c Convert markdown syntax to asciidoc Matt Borland 2023-05-01 15:57:37 +02:00
  • 900c650258 Add to_chars floating point docs Matt Borland 2023-05-01 15:56:36 +02:00
  • fb2b4034da Document chars_format Matt Borland 2023-05-01 15:54:20 +02:00
  • dbdc8d2e3c Replace _MSC_VER with BOOST_MSVC Matt Borland 2023-05-01 14:39:38 +02:00
  • be0f290b0f Fix silent failure of MSVC 14.0 Matt Borland 2023-04-28 16:29:12 +02:00
  • ae56c77d22 Disable clang std::from_chars Matt Borland 2023-04-28 12:17:50 +02:00
  • a8c0faa5ba Add suspect roundtrip values for STL and fix truncation warning Matt Borland 2023-04-28 11:53:52 +02:00
  • a76cca212e Reduce range and add suspect roundtrip values Matt Borland 2023-04-27 14:12:37 +02:00
  • a6c5f05ad1 Fix from_chars float handling of signed zeros Matt Borland 2023-04-19 15:52:20 +02:00
  • 65b5ef4d40 Reduce random test iterations per precision Matt Borland 2023-04-26 13:39:20 +02:00
  • 09abb002b7 Add bounds checking to hex exp Matt Borland 2023-04-26 13:05:33 +02:00
  • 4351953969 Add precision to testing Matt Borland 2023-04-25 15:37:28 +02:00
  • 2185032f31 Suppress warning C4127 Matt Borland 2023-04-25 15:07:14 +02:00
  • bf955e9312 Improve floff non-finite value handling Matt Borland 2023-04-25 15:00:38 +02:00
  • 9ed0637dab Pre-compile more of dragonbox Matt Borland 2023-04-25 13:49:01 +02:00
  • bb6e1af4d2 Change random range for MSVC to avoid overflow in STL Matt Borland 2023-04-24 16:50:53 +02:00
  • bdb8325c7b Fix missing negative sign on hex Matt Borland 2023-04-24 16:50:34 +02:00
  • 40d64d2ee3 Fix chars_format::hex non-finite values handling Matt Borland 2023-04-24 16:20:18 +02:00
  • ba433e9fe9 Use template structs to fix ODR violations Matt Borland 2023-04-21 16:16:35 +02:00
  • d562d85351 Increase range of fixed formatting Matt Borland 2023-04-21 15:57:47 +02:00
  • 4ddf923d7c Refactor cpp file and add testing for float type Matt Borland 2023-04-21 15:28:47 +02:00
  • e58aeff5e2 Fix memmove offset and missing trailing zeros Matt Borland 2023-04-21 14:44:23 +02:00
  • 91c67dfa18 Add scientific and hex comparison tests Matt Borland 2023-04-21 13:16:32 +02:00
  • f32fa5e5be Fix known compiler support for comparison tests Matt Borland 2023-04-20 17:30:31 +02:00
  • d9a1d11400 Add <charconv> comparison test Matt Borland 2023-04-20 16:27:40 +02:00
  • 9c4499f9e2 Handle signed nans and allow for sNaN and qNaN differentiation Matt Borland 2023-04-20 16:27:06 +02:00
  • c03bacdcd0 Change printing of non-finite values to match STL Matt Borland 2023-04-20 15:37:35 +02:00
  • f19bae821a Workaround for MSVC 14.0 lack of BOOST_ATTRIBUTE_UNUSED Matt Borland 2023-04-20 15:03:12 +02:00