Fast and exact implementation of the C++ from_chars functions for number types: 4x to 10x faster than strtod, part of GCC 12, Chromium, Redis and WebKit/Safari
I see that parse_options_t supports a single character only as decimal point, so for example either ',' xor '.'. My intention is to both convert 3.1416 and 3,1416 to floating point number and not caring about the decimal point of the actual locale. Is there any shortcut within the library?
First things first: Thank you for this library!
I see that
parse_options_t
supports a single character only as decimal point, so for example either','
xor'.'
. My intention is to both convert3.1416
and3,1416
to floating point number and not caring about the decimal point of the actual locale. Is there any shortcut within the library?