Matt Borland
|
dbfb6804c2
|
Add special handling with exp = -1 to avoid unnecessary fallback
|
2023-05-22 11:17:39 +02:00 |
|
Matt Borland
|
19e8ea55fb
|
Use temporary buffer in fallback routine to avoid over-running last
|
2023-05-22 11:17:39 +02:00 |
|
Matt Borland
|
e6e12051cd
|
Add test cases
|
2023-05-22 11:17:39 +02:00 |
|
Peter Dimov
|
7d8d3449eb
|
Use snprintf instead of sprintf to avoid security deprecation warnings
|
2023-05-19 18:55:04 +03:00 |
|
Peter Dimov
|
6618b989b3
|
Add zero extension tests for float and double
|
2023-05-19 18:43:06 +03:00 |
|
Peter Dimov
|
8ad34f7c50
|
Remove myself as an author
|
2023-05-18 14:49:25 +03:00 |
|
Matt Borland
|
d0a30cf066
|
Merge pull request #42 from mborland/system_error
Use `std::errc` as the error code instead of errno values
|
2023-05-18 13:30:33 +02:00 |
|
Matt Borland
|
554d7a0c3e
|
Ignore GCC 9, 10, and 12 -Wmaybe-uninitialized
|
2023-05-18 12:43:11 +02:00 |
|
Matt Borland
|
21f46c136f
|
Fix doc section headers
|
2023-05-18 11:29:53 +02:00 |
|
Matt Borland
|
692a2b9c01
|
Fix failures on platforms with long double > 64 bits
|
2023-05-18 11:20:49 +02:00 |
|
Matt Borland
|
94830e29de
|
Update docs
|
2023-05-18 10:56:14 +02:00 |
|
Matt Borland
|
f9b0b76499
|
Add function to convert errno to std::errc
|
2023-05-18 10:21:09 +02:00 |
|
Matt Borland
|
f027ead7a0
|
Convert to_chars to use std::errc instead of errno
|
2023-05-18 10:20:50 +02:00 |
|
Matt Borland
|
3d211434b4
|
Convert from_chars to use std::errc instead of errno
|
2023-05-18 10:20:44 +02:00 |
|
Matt Borland
|
8c0027f087
|
Merge pull request #41 from mborland/37
Change handling of ERANGE values to match std::strtod
|
2023-05-17 17:34:57 +02:00 |
|
Matt Borland
|
809dc65dd5
|
Fix starting value of V and test operator
|
2023-05-17 16:13:09 +02:00 |
|
Matt Borland
|
686c515c0c
|
Add long double subnormal range for conversion to +/- 0
|
2023-05-17 10:35:18 +02:00 |
|
Matt Borland
|
1edb1e70eb
|
Explain how we are diverging from the cpp standard in docs
|
2023-05-17 09:23:04 +02:00 |
|
Matt Borland
|
9a98e90adc
|
Fix long double testing
|
2023-05-17 09:22:46 +02:00 |
|
Matt Borland
|
c5214a9500
|
Make a note in the docs that we diverge from the standard on ERANGE
|
2023-05-17 09:08:15 +02:00 |
|
Matt Borland
|
72a62c91d5
|
Fix handling for floats
|
2023-05-17 08:59:50 +02:00 |
|
Matt Borland
|
99e54aa603
|
Add long double test case
|
2023-05-17 08:49:41 +02:00 |
|
Matt Borland
|
3a00fa7f30
|
Add handling for doubles
|
2023-05-17 08:44:24 +02:00 |
|
Matt Borland
|
ebede617c9
|
Add test cases
|
2023-05-17 08:44:24 +02:00 |
|
Matt Borland
|
38b99a5c98
|
Merge pull request #40 from mborland/39
Fix handling of values with 0 exponent and significand with more than 19 digits
|
2023-05-16 13:21:24 +02:00 |
|
Matt Borland
|
f0d0388898
|
Add handling for 64-bit long doubles
|
2023-05-16 11:00:44 +02:00 |
|
Matt Borland
|
ccfc40d78f
|
Add long double testing
|
2023-05-16 08:27:18 +02:00 |
|
Matt Borland
|
10ca6f1346
|
Suppress warning C4244 from BOOST_IF_CONSTEXPR expansion
|
2023-05-15 15:55:41 +02:00 |
|
Matt Borland
|
3c46a4c918
|
Add full testing on floats
|
2023-05-15 15:24:27 +02:00 |
|
Matt Borland
|
14190f4acb
|
Add full check ULP test suite
|
2023-05-15 13:48:36 +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
|
ed761823cd
|
Add test values from issue
|
2023-05-15 13:48:36 +02:00 |
|
Matt Borland
|
8711c0a469
|
Merge pull request #38 from mborland/31
Change parsing of leading plus sign to return EINVAL
|
2023-05-15 13:48:04 +02:00 |
|
Matt Borland
|
60c16b7767
|
Fix 64-bit and MSVC long double handling
|
2023-05-15 12:38:57 +02:00 |
|
Matt Borland
|
4b91f2310a
|
Return EINVAL instead of ignoring parsing leading + sign
|
2023-05-12 13:45:32 +02:00 |
|
Matt Borland
|
956369309d
|
Add tests for invalid values from leading plus sign
|
2023-05-12 13:45:23 +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
|
ea6b208b81
|
Merge pull request #35 from mborland/30
Remove unused pack/unpack functions
|
2023-05-12 13:13:06 +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
|
e776e41361
|
Add test values reported in issue
|
2023-05-12 12:18:55 +02:00 |
|
Matt Borland
|
f6eded71e6
|
Remove unused pack/unpack functions
|
2023-05-12 12:12:19 +02:00 |
|
Matt Borland
|
46df30e5a0
|
Merge pull request #28 from mborland/example
Fix to_chars usage example
|
2023-05-11 11:48:21 +02:00 |
|
Matt Borland
|
32c9b9f3b6
|
Fix to_chars usage example
|
2023-05-11 11:01:17 +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
|
63d96fc9cb
|
Fix scientific format docs
|
2023-05-09 13:04:08 +02:00 |
|
Matt Borland
|
c7f56dea0d
|
Add tests from Boost.JSON stream_parser
|
2023-05-08 15:46:15 +02:00 |
|