Commit Graph

  • a9c10ba659 Make compute_has_further_digits C++11 friendly Matt Borland 2023-03-23 18:44:24 -07:00
  • 1069f38e50 Replace template variable with integral_constant Matt Borland 2023-03-23 14:21:27 -07:00
  • 94445b1cf1 Pre-compute fractional_part_rounding_thresholds Matt Borland 2023-03-23 14:00:08 -07:00
  • 748ec337fd Add trailing return type Matt Borland 2023-03-23 13:45:10 -07:00
  • ff00639cbf Pre-compute powers of 10 Matt Borland 2023-03-23 13:42:24 -07:00
  • a6b0aca899 Replace template variables with struct Matt Borland 2023-03-23 13:23:55 -07:00
  • b33c1fc528 Remove digit separators Matt Borland 2023-03-22 14:06:17 -07:00
  • bbd6a8d083 Add blocks for static constexpr struct members Matt Borland 2023-03-22 13:59:31 -07:00
  • b8c8039ddc Replace lambda with enable if functions Matt Borland 2023-03-22 12:57:36 -07:00
  • bce323c785 Add enable if templates to replace if constexpr Matt Borland 2023-03-22 12:36:14 -07:00
  • 564eeff4b7 Pre-compute tables to replace C++17 constexpr lambdas Matt Borland 2023-03-22 12:14:07 -07:00
  • 7a917e09d0 Replace structured binding Matt Borland 2023-03-22 11:52:07 -07:00
  • ed772f594d Replace C++17 features with boost macros Matt Borland 2023-03-22 11:49:25 -07:00
  • 6c7b1efcbc Tests pass with C++17 Matt Borland 2023-03-22 11:36:07 -07:00
  • f0be262fdc Add multiple formatting options Matt Borland 2023-03-22 11:27:40 -07:00
  • d7ebadb2fc Work floff into to_chars Matt Borland 2023-03-22 10:20:33 -07:00
  • e9e95f640f Add floff Matt Borland 2023-03-22 10:19:50 -07:00
  • cfdeea52ae Add printing functions Matt Borland 2023-03-15 20:20:09 -07:00
  • 1351e9826f Pre-compute tables Matt Borland 2023-03-15 20:03:23 -07:00
  • 8e51595139 Fix compiler errors under C++14 Matt Borland 2023-03-15 18:54:46 -07:00
  • a69acf078e Fix compiler errors under C++17 Matt Borland 2023-03-15 18:07:40 -07:00
  • c2e086f13b Add floating point functions to to_chars header Matt Borland 2023-03-15 17:19:09 -07:00
  • dbf1b38a3c Remove all things ported elsewhere Matt Borland 2023-03-14 12:00:24 -07:00
  • e3fefd8268 Add policy holders Matt Borland 2023-03-14 10:38:14 -07:00
  • 8b25973077 Add policies Matt Borland 2023-03-14 10:13:21 -07:00
  • 733fd3825b Add cache Matt Borland 2023-03-14 09:09:16 -07:00
  • 055f71321c Add constructor used in cache Matt Borland 2023-03-14 08:48:43 -07:00
  • ef430fdf23 Add float traits Matt Borland 2023-03-14 08:29:40 -07:00
  • 3d6ecf4c75 Move properties structs Matt Borland 2023-03-14 08:15:43 -07:00
  • 1dfbb61945 Add div functions Matt Borland 2023-03-13 11:56:20 -07:00
  • 3db768059f Add log computations Matt Borland 2023-03-13 11:02:16 -07:00
  • 9501d30c09 Add functions for powers and factors Matt Borland 2023-03-13 10:23:01 -07:00
  • e4bda1a149 Add additional functionality to emulated 128 Matt Borland 2023-03-13 09:59:43 -07:00
  • c98559fd3d Add namespace Matt Borland 2023-03-10 12:48:54 -08:00
  • b569529da1 Add C++17 member variables and use boost u128 Matt Borland 2023-03-10 12:45:49 -08:00
  • db69a8458c Port signed_significand_bits Matt Borland 2023-03-10 11:33:39 -08:00
  • 8839978884 Port float_bits Matt Borland 2023-03-10 11:20:06 -08:00
  • ebb08e02c8 Port default_float_traits Matt Borland 2023-03-10 11:15:30 -08:00
  • a857ee8772 Initial commit Matt Borland 2023-03-10 11:10:30 -08:00
  • cc32336ad6 Merge pull request #21 from mborland/float_from_chars Matt Borland 2023-03-03 11:40:59 -08:00
  • b4bfe101c3 Ignore leading zeros in exponent Matt Borland 2023-03-03 11:02:30 -08:00
  • 8df80c1ce1 Fix too many decimal places for type Matt Borland 2023-03-03 10:52:08 -08:00
  • 403517539d Fix big ints Matt Borland 2023-03-03 10:33:59 -08:00
  • 06b5912d78 Replace magic numbers Matt Borland 2023-03-03 10:04:24 -08:00
  • 012045fe23 Fix case of too many significant digits with exponent Matt Borland 2023-03-03 09:43:27 -08:00
  • 10f9898444 Compensate for significant digits outside the range of the significand Matt Borland 2023-03-03 09:03:38 -08:00
  • c4b6349ac2 Remove leading zeros Matt Borland 2023-03-03 08:25:00 -08:00
  • 87b745a413 Fix intel compiler warning Matt Borland 2023-03-02 12:20:16 -08:00
  • acb6720683 Disable tests Matt Borland 2023-03-02 12:20:03 -08:00
  • 8bab466bcc Fix typo Matt Borland 2023-03-02 12:05:56 -08:00
  • a6a8b589bd Fix exponent code path for decimal point position Matt Borland 2023-03-02 11:48:31 -08:00
  • d746811926 Fix non-exponent code path for decimal point position Matt Borland 2023-03-02 11:42:20 -08:00
  • d0ad1f51fe Add bounds checking to parser Matt Borland 2023-03-02 11:10:45 -08:00
  • fe54b41e6f Add additional tests for values not produced in to_chars Matt Borland 2023-03-02 11:10:32 -08:00
  • 1f0b76bdc6 Fix header organization Matt Borland 2023-03-02 10:17:10 -08:00
  • 27d7a74007 Fail on overflow Matt Borland 2023-03-02 10:16:27 -08:00
  • 5ad82255b3 Activate only 64-bit long double impls Matt Borland 2023-03-01 11:08:37 -08:00
  • a33df00ebe Revert from_chars long double impl Matt Borland 2023-03-01 10:38:29 -08:00
  • 818b54488b Add rounding of last digit Matt Borland 2023-03-01 10:30:09 -08:00
  • 9f322c7ae7 Fix 80 bit power when we reduce the significand length Matt Borland 2023-03-01 08:59:25 -08:00
  • 6e3eda52d1 Fix limits cases Matt Borland 2023-03-01 08:45:31 -08:00
  • 1ed6b6749f Add 64 and 80 bit long double impls Matt Borland 2023-02-28 12:20:20 -08:00
  • 6b4bc78fa6 Fix compute_float32 for edge cases Matt Borland 2023-02-28 10:36:23 -08:00
  • 513e7e6662 Refactor parser Matt Borland 2023-02-28 10:02:10 -08:00
  • 1688710f52 Fix parsing of scientific notation hex values Matt Borland 2023-02-28 10:00:07 -08:00
  • 6d3187bcf7 Change parser exponent for non-integer significands Matt Borland 2023-02-28 09:35:46 -08:00
  • 5fc998665e Remove duplicate overflow check from the parser Matt Borland 2023-02-28 09:12:23 -08:00
  • 7e011784a7 Replace float and double stub impls with real ones Matt Borland 2023-02-27 11:44:04 -08:00
  • 36f23705e4 Fix count of exponent on integers Matt Borland 2023-02-27 11:31:54 -08:00
  • c22389e8dc Disable long double testing on several platforms Matt Borland 2023-02-27 10:53:15 -08:00
  • 541086c5c1 Reorganize to fix header cycle Matt Borland 2023-02-27 10:36:48 -08:00
  • 289b17c293 Add trivial functioning long double impl Matt Borland 2023-02-27 10:30:53 -08:00
  • 532a25ce1c Add support for uppercase exponents Matt Borland 2023-02-24 11:59:56 -08:00
  • ae2d93e6ff Add hex scientific notation tests Matt Borland 2023-02-24 11:50:12 -08:00
  • eb7e7d6eb6 Add tests for over/underflow Matt Borland 2023-02-24 11:42:26 -08:00
  • 70d4c7ae82 Add hex tests and shift responsibility for significand to computeXX Matt Borland 2023-02-24 11:23:02 -08:00
  • b08344d002 Add scientific notation tests Matt Borland 2023-02-24 10:29:03 -08:00
  • 7cde179d59 Fix GCC 4.9 maybe uninitialized variable warning Matt Borland 2023-02-24 10:28:42 -08:00
  • 07a23c4652 Fix warning C4702: unreachable code Matt Borland 2023-02-24 09:56:32 -08:00
  • 034c05598f Add int->float parser test Matt Borland 2023-02-24 09:23:55 -08:00
  • d839541743 WIP: Add generic parser Matt Borland 2023-02-23 11:53:11 -08:00
  • c324d84350 Use to_chars to assemble a long double Matt Borland 2023-02-23 10:20:29 -08:00
  • 1a29f507da Add function to compute float Matt Borland 2023-02-23 08:45:59 -08:00
  • 094d0d87a2 Fix memory access violation Matt Borland 2023-02-22 12:26:07 -08:00
  • a055bce3ee Add simple test for compute_float64 Matt Borland 2023-02-22 11:53:23 -08:00
  • a221554cb2 Move from_chars result into it's own header Matt Borland 2023-02-22 10:39:59 -08:00
  • a525b9435a Add function to compute double from significand and exponent Matt Borland 2023-02-22 09:44:00 -08:00
  • 4ff073e5f6 Remove all leading zero files Matt Borland 2023-02-21 12:03:58 -08:00
  • 7bee6b4d12 Merge remote-tracking branch 'origin/develop' into float_from_chars Matt Borland 2023-02-21 11:00:44 -08:00
  • 0f96efc9a7 Use boost.core implementations Matt Borland 2023-02-21 11:00:34 -08:00
  • eb88273a57 Merge pull request #22 from mborland/warnings Matt Borland 2023-02-21 10:38:26 -08:00
  • 57919cea20 Change x86 intrinsic to work with 32bit environment Matt Borland 2023-02-21 10:33:06 -08:00
  • fe6a62ffed Disable floating point tests on platforms with known failures Matt Borland 2023-02-21 10:28:40 -08:00
  • 2e60941a2e Add static_assert for sizeof uchar_values array Matt Borland 2023-02-21 09:49:32 -08:00
  • cf3ef482b1 Replace std::array with c-style array Matt Borland 2023-02-21 09:12:05 -08:00
  • 370ac6ec9f Suppress Wconstant-conversion warning on Apple Clang Matt Borland 2023-02-21 09:10:39 -08:00
  • 861bcf7f62 Add test for leading zero count Matt Borland 2023-02-20 14:44:27 -08:00
  • 2f2929eabc Add big endian leading zero count Matt Borland 2023-02-20 14:23:08 -08:00
  • 8caa7a0d2f Revert "Add BOOST_CHARCONV_HARDWARE_DESTRUCTIVE_INTERFACE_SIZE" Matt Borland 2023-02-20 14:10:52 -08:00
  • 686c5881b9 Merge remote-tracking branch 'CPPAlliance/feature/drone' into float_from_chars Matt Borland 2023-02-20 14:09:28 -08:00