boostorg / charconv

C++11 compatible charconv
https://www.boost.org/doc/libs/master/libs/charconv/doc/html/charconv.html
Boost Software License 1.0
26 stars 15 forks source link

Some fixed format values don't roundtrip #205

Closed mborland closed 3 months ago

mborland commented 3 months ago

If the value of abs(value_struct.exponent) is greater than num_dig we can lose some digits e.g. 2.48386e-20 returns as 2.48386F and 2.12157e+19F returns 2.12157F.