Matt Borland
|
3a00fa7f30
|
Add handling for doubles
|
2023-05-17 08:44:24 +02:00 |
|
Matt Borland
|
f0d0388898
|
Add handling for 64-bit long doubles
|
2023-05-16 11:00:44 +02:00 |
|
Matt Borland
|
abf047cb04
|
Change handling of exponent when significand does not fit the buffer
|
2023-05-15 13:48:36 +02:00 |
|
Matt Borland
|
4b91f2310a
|
Return EINVAL instead of ignoring parsing leading + sign
|
2023-05-12 13:45:32 +02:00 |
|
Matt Borland
|
cdf0da31c6
|
Merge pull request #36 from mborland/29
Fix parsing of 0 or empty significand
|
2023-05-12 13:43:09 +02:00 |
|
Matt Borland
|
dc7f2cd04b
|
If value is EINVAL it should be returned unmodified
|
2023-05-12 13:00:03 +02:00 |
|
Matt Borland
|
e4ab9c5b57
|
Add value without significand handling and test
|
2023-05-12 12:56:29 +02:00 |
|
Matt Borland
|
49be94043b
|
Fix handling of a significand equal to 0
|
2023-05-12 12:38:27 +02:00 |
|
Matt Borland
|
f6eded71e6
|
Remove unused pack/unpack functions
|
2023-05-12 12:12:19 +02:00 |
|
Matt Borland
|
84450fea91
|
Merge pull request #24 from mborland/float_to_chars
Float to chars
|
2023-05-09 14:41:42 +02:00 |
|
Matt Borland
|
a611a63796
|
Replace uses of _MSC_VER with BOOST_MSVC
|
2023-05-09 13:10:23 +02:00 |
|
Matt Borland
|
8be90e476a
|
Remove duplicate safebuffers macro
|
2023-05-09 13:05:11 +02:00 |
|
Matt Borland
|
b0d318ad6b
|
Change handling of 0 depending on chars_format
|
2023-05-08 15:14:16 +02:00 |
|
Matt Borland
|
246d9e0d96
|
Enable long doubles on 64-bit platforms
|
2023-05-05 15:54:27 +02:00 |
|
Matt Borland
|
5ee466ca4b
|
Fix scientific notation handling of 0 power
|
2023-05-05 13:29:17 +02:00 |
|
Matt Borland
|
d1d8395bd9
|
Fix bounds on integer representation
|
2023-05-04 15:08:26 +02:00 |
|
Matt Borland
|
672dc6f684
|
Fix merge conflicts
|
2023-05-04 13:32:23 +02:00 |
|
Matt Borland
|
21133c6940
|
Suppress GCC 4.X -Wmissing-fied-initalizers
|
2023-05-04 12:52:23 +02:00 |
|
Matt Borland
|
d3fdefff4b
|
Suppress conversion warnings for C++11 and 14
|
2023-05-04 09:46:39 +02:00 |
|
Matt Borland
|
1a893dcf47
|
Fix case where the power is equal to the number of leading zeros
|
2023-05-04 09:36:27 +02:00 |
|
Matt Borland
|
9a450e6d97
|
Don't use strlen when we already know the length of the buffer
|
2023-05-04 09:16:44 +02:00 |
|
Matt Borland
|
4fb8d92e76
|
Fix parsing large significand with fractional component
|
2023-05-04 09:06:12 +02:00 |
|
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
|
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
|
30edfaeb32
|
Fix scientific formatting when exponent is 0
|
2023-05-02 15:37:57 +02:00 |
|
Matt Borland
|
dbdc8d2e3c
|
Replace _MSC_VER with BOOST_MSVC
|
2023-05-01 14:39:38 +02:00 |
|
Matt Borland
|
be0f290b0f
|
Fix silent failure of MSVC 14.0
|
2023-04-28 16:29:12 +02:00 |
|
Matt Borland
|
a6c5f05ad1
|
Fix from_chars float handling of signed zeros
|
2023-04-26 14:14:57 +02:00 |
|
Matt Borland
|
09abb002b7
|
Add bounds checking to hex exp
|
2023-04-26 13:05:33 +02:00 |
|
Matt Borland
|
bf955e9312
|
Improve floff non-finite value handling
|
2023-04-25 15:00:38 +02:00 |
|
Matt Borland
|
9ed0637dab
|
Pre-compile more of dragonbox
|
2023-04-25 13:49:01 +02:00 |
|
Matt Borland
|
bdb8325c7b
|
Fix missing negative sign on hex
|
2023-04-24 16:50:34 +02:00 |
|
Matt Borland
|
40d64d2ee3
|
Fix chars_format::hex non-finite values handling
|
2023-04-24 16:20:18 +02:00 |
|
Matt Borland
|
ba433e9fe9
|
Use template structs to fix ODR violations
|
2023-04-21 16:16:35 +02:00 |
|
Matt Borland
|
d562d85351
|
Increase range of fixed formatting
|
2023-04-21 15:57:47 +02:00 |
|
Matt Borland
|
4ddf923d7c
|
Refactor cpp file and add testing for float type
|
2023-04-21 15:28:47 +02:00 |
|
Matt Borland
|
f32fa5e5be
|
Fix known compiler support for comparison tests
|
2023-04-20 17:30:31 +02:00 |
|
Matt Borland
|
9c4499f9e2
|
Handle signed nans and allow for sNaN and qNaN differentiation
|
2023-04-20 16:27:06 +02:00 |
|
Matt Borland
|
c03bacdcd0
|
Change printing of non-finite values to match STL
|
2023-04-20 15:37:35 +02:00 |
|
Matt Borland
|
f19bae821a
|
Workaround for MSVC 14.0 lack of BOOST_ATTRIBUTE_UNUSED
|
2023-04-20 15:03:12 +02:00 |
|
Matt Borland
|
0e01dc7aaf
|
Fix MSVC warning C4244
|
2023-04-20 14:50:00 +02:00 |
|
Matt Borland
|
82a0e317f9
|
Fix MSVC warning C4100
|
2023-04-20 14:48:41 +02:00 |
|
Matt Borland
|
cb5311810a
|
Fix -Wmaybe-unintialized and GCC 4.X -Wmissing-field-initalizers
|
2023-04-20 14:13:38 +02:00 |
|
Matt Borland
|
2c8d787dd4
|
Remove static assert that only works with C++17 or greater
|
2023-04-20 13:38:54 +02:00 |
|
Matt Borland
|
cf02c6ccd3
|
Change capitalization of exponent character
|
2023-04-20 13:15:27 +02:00 |
|