Commit Graph

226 Commits

Author SHA1 Message Date
Matt Borland
ca32f123c2 Fix -Werror-maybe-uninitialized 2023-03-27 17:08:32 +02:00
Matt Borland
5563d760ef Implement general notation for non-integer results 2023-03-27 16:16:54 +02:00
Matt Borland
3b186a9c6b Fix CI failures from macros and unreachable code with non-c++17 builds 2023-03-27 15:04:09 +02:00
Matt Borland
b80c49d6a8 Max functions C++11 or add BOOST_CXX14_CONSTEXPR macro 2023-03-23 19:06:08 -07:00
Matt Borland
242672b428 Add messages to static_asserts 2023-03-23 18:55:18 -07:00
Matt Borland
98bad063b8 Floff works under C++11 2023-03-23 18:49:31 -07:00
Matt Borland
562bd84a7d Make computing powers BOOST_CXX14_CONSTEXPR 2023-03-23 18:47:18 -07:00
Matt Borland
a9c10ba659 Make compute_has_further_digits C++11 friendly 2023-03-23 18:44:24 -07:00
Matt Borland
1069f38e50 Replace template variable with integral_constant
[ci skip]
2023-03-23 14:21:35 -07:00
Matt Borland
94445b1cf1 Pre-compute fractional_part_rounding_thresholds 2023-03-23 14:00:08 -07:00
Matt Borland
748ec337fd Add trailing return type 2023-03-23 13:45:10 -07:00
Matt Borland
ff00639cbf Pre-compute powers of 10 2023-03-23 13:42:24 -07:00
Matt Borland
a6b0aca899 Replace template variables with struct 2023-03-23 13:23:55 -07:00
Matt Borland
b33c1fc528 Remove digit separators
[ci skip]
2023-03-22 14:06:17 -07:00
Matt Borland
bbd6a8d083 Add blocks for static constexpr struct members
[ci skip]
2023-03-22 13:59:31 -07:00
Matt Borland
b8c8039ddc Replace lambda with enable if functions
[ci skip]
2023-03-22 12:57:36 -07:00
Matt Borland
bce323c785 Add enable if templates to replace if constexpr
[ci skip]
2023-03-22 12:36:14 -07:00
Matt Borland
564eeff4b7 Pre-compute tables to replace C++17 constexpr lambdas
[ci skip]
2023-03-22 12:14:07 -07:00
Matt Borland
7a917e09d0 Replace structured binding
[ci skip]
2023-03-22 11:52:16 -07:00
Matt Borland
ed772f594d Replace C++17 features with boost macros 2023-03-22 11:49:25 -07:00
Matt Borland
6c7b1efcbc Tests pass with C++17 2023-03-22 11:36:07 -07:00
Matt Borland
d7ebadb2fc Work floff into to_chars 2023-03-22 10:20:33 -07:00
Matt Borland
e9e95f640f Add floff 2023-03-22 10:19:50 -07:00
Matt Borland
1351e9826f Pre-compute tables 2023-03-15 20:03:23 -07:00
Matt Borland
8e51595139 Fix compiler errors under C++14 2023-03-15 18:54:46 -07:00
Matt Borland
a69acf078e Fix compiler errors under C++17 2023-03-15 18:07:40 -07:00
Matt Borland
c2e086f13b Add floating point functions to to_chars header 2023-03-15 17:19:09 -07:00
Matt Borland
dbf1b38a3c Remove all things ported elsewhere 2023-03-14 12:00:24 -07:00
Matt Borland
e3fefd8268 Add policy holders 2023-03-14 10:38:14 -07:00
Matt Borland
8b25973077 Add policies 2023-03-14 10:13:21 -07:00
Matt Borland
733fd3825b Add cache 2023-03-14 09:09:16 -07:00
Matt Borland
055f71321c Add constructor used in cache 2023-03-14 08:48:43 -07:00
Matt Borland
ef430fdf23 Add float traits 2023-03-14 08:29:40 -07:00
Matt Borland
3d6ecf4c75 Move properties structs 2023-03-14 08:15:43 -07:00
Matt Borland
1dfbb61945 Add div functions 2023-03-13 11:56:20 -07:00
Matt Borland
3db768059f Add log computations 2023-03-13 11:02:16 -07:00
Matt Borland
9501d30c09 Add functions for powers and factors 2023-03-13 10:23:01 -07:00
Matt Borland
e4bda1a149 Add additional functionality to emulated 128 2023-03-13 09:59:43 -07:00
Matt Borland
c98559fd3d Add namespace 2023-03-10 12:48:54 -08:00
Matt Borland
b569529da1 Add C++17 member variables and use boost u128 2023-03-10 12:45:49 -08:00
Matt Borland
db69a8458c Port signed_significand_bits 2023-03-10 11:33:39 -08:00
Matt Borland
8839978884 Port float_bits 2023-03-10 11:20:06 -08:00
Matt Borland
ebb08e02c8 Port default_float_traits 2023-03-10 11:15:30 -08:00
Matt Borland
a857ee8772 Initial commit 2023-03-10 11:10:30 -08:00
Matt Borland
b4bfe101c3 Ignore leading zeros in exponent 2023-03-03 11:02:30 -08:00
Matt Borland
8df80c1ce1 Fix too many decimal places for type 2023-03-03 10:52:08 -08:00
Matt Borland
403517539d Fix big ints 2023-03-03 10:33:59 -08:00
Matt Borland
06b5912d78 Replace magic numbers 2023-03-03 10:04:24 -08:00
Matt Borland
012045fe23 Fix case of too many significant digits with exponent 2023-03-03 09:43:27 -08:00
Matt Borland
10f9898444 Compensate for significant digits outside the range of the significand 2023-03-03 09:03:38 -08:00