Matt Borland
|
adea138d23
|
Add strtod fallback routine
|
2023-05-04 08:45:42 +02:00 |
|
Matt Borland
|
d96646ec92
|
Refactor to reduce code duplication
|
2023-05-04 08:31:27 +02:00 |
|
Matt Borland
|
73ea28328f
|
Fix case of number to 0th power
|
2023-05-03 17:19:23 +02:00 |
|
Matt Borland
|
6e0b501dd4
|
Add all remaining boost.json tests
|
2023-05-03 17:10:41 +02:00 |
|
Matt Borland
|
b54f9dfc6c
|
Fix case with leading zeros in integer and fraction e.g. 0.0001
|
2023-05-03 16:56:22 +02:00 |
|
Matt Borland
|
4bda4e78cc
|
Add more boost.json values
|
2023-05-03 16:41:52 +02:00 |
|
Matt Borland
|
894b1d72e4
|
Fix case of leading zeros in significand and fraction
|
2023-05-03 16:21:49 +02:00 |
|
Matt Borland
|
77493c0489
|
Fix linter warnings
|
2023-05-03 16:15:53 +02:00 |
|
Matt Borland
|
8cd2f9c646
|
Add test for failing value from boost.json tests
|
2023-05-03 15:56:27 +02:00 |
|
Matt Borland
|
fa45f44a46
|
Merge pull request #25 from mborland/from_chars_0
From chars zero
|
2023-04-19 18:06:21 +02:00 |
|
Matt Borland
|
08e7b2f06c
|
Fix from_chars float handling of signed zeros
|
2023-04-19 15:52:20 +02:00 |
|
Matt Borland
|
cc32336ad6
|
Merge pull request #21 from mborland/float_from_chars
Float from chars
|
2023-03-03 11:40:59 -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
|
acb6720683
|
Disable tests
|
2023-03-02 12:20:03 -08:00 |
|
Matt Borland
|
8bab466bcc
|
Fix typo
[ci skip]
|
2023-03-02 12:05:56 -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
|
fe54b41e6f
|
Add additional tests for values not produced in to_chars
|
2023-03-02 11:10:32 -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
|
a33df00ebe
|
Revert from_chars long double impl
|
2023-03-01 10:38:29 -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
|
c22389e8dc
|
Disable long double testing on several platforms
|
2023-02-27 10:53:15 -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 |
|
Matt Borland
|
ae2d93e6ff
|
Add hex scientific notation tests
|
2023-02-24 11:50:12 -08:00 |
|
Matt Borland
|
eb7e7d6eb6
|
Add tests for over/underflow
|
2023-02-24 11:42:26 -08:00 |
|
Matt Borland
|
70d4c7ae82
|
Add hex tests and shift responsibility for significand to computeXX
|
2023-02-24 11:23:02 -08:00 |
|
Matt Borland
|
b08344d002
|
Add scientific notation tests
|
2023-02-24 10:29:03 -08:00 |
|
Matt Borland
|
7cde179d59
|
Fix GCC 4.9 maybe uninitialized variable warning
|
2023-02-24 10:28:42 -08:00 |
|