Commit Graph

204 Commits

Author SHA1 Message Date
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
Matt Borland
c4b6349ac2 Remove leading zeros 2023-03-03 08:25:00 -08:00
Matt Borland
87b745a413 Fix intel compiler warning 2023-03-02 12:20:16 -08:00
Matt Borland
a6a8b589bd Fix exponent code path for decimal point position
[ci skip]
2023-03-02 11:58:19 -08:00
Matt Borland
d746811926 Fix non-exponent code path for decimal point position 2023-03-02 11:42:20 -08:00
Matt Borland
d0ad1f51fe Add bounds checking to parser 2023-03-02 11:10:45 -08:00
Matt Borland
1f0b76bdc6 Fix header organization 2023-03-02 10:17:10 -08:00
Matt Borland
27d7a74007 Fail on overflow 2023-03-02 10:16:27 -08:00
Matt Borland
5ad82255b3 Activate only 64-bit long double impls 2023-03-01 11:08:37 -08:00
Matt Borland
818b54488b Add rounding of last digit 2023-03-01 10:30:09 -08:00
Matt Borland
9f322c7ae7 Fix 80 bit power when we reduce the significand length 2023-03-01 08:59:25 -08:00
Matt Borland
6e3eda52d1 Fix limits cases 2023-03-01 08:45:31 -08:00
Matt Borland
1ed6b6749f Add 64 and 80 bit long double impls
[ci skip]
2023-02-28 12:20:20 -08:00
Matt Borland
6b4bc78fa6 Fix compute_float32 for edge cases 2023-02-28 10:36:23 -08:00
Matt Borland
513e7e6662 Refactor parser 2023-02-28 10:02:10 -08:00
Matt Borland
1688710f52 Fix parsing of scientific notation hex values 2023-02-28 10:00:07 -08:00
Matt Borland
6d3187bcf7 Change parser exponent for non-integer significands 2023-02-28 09:35:46 -08:00
Matt Borland
5fc998665e Remove duplicate overflow check from the parser 2023-02-28 09:12:23 -08:00
Matt Borland
7e011784a7 Replace float and double stub impls with real ones
[ci skip]
2023-02-27 11:44:04 -08:00
Matt Borland
36f23705e4 Fix count of exponent on integers 2023-02-27 11:31:54 -08:00
Matt Borland
541086c5c1 Reorganize to fix header cycle 2023-02-27 10:36:48 -08:00
Matt Borland
289b17c293 Add trivial functioning long double impl 2023-02-27 10:30:53 -08:00
Matt Borland
532a25ce1c Add support for uppercase exponents 2023-02-24 11:59:56 -08:00