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
Apache License 2.0
1.54k
stars
132
forks
source link
fix for 32-bit Visual Studio when not set to round to nearest #225
In some cases, Visual Studio, when compiling 32-bit binaries, gets 0*something == -0 even when the 'something' is positive, if the system is not set to round to nearest.
(This is very narrow and I can't reproduce it locally. The patch is a precaution.)
In some cases, Visual Studio, when compiling 32-bit binaries, gets 0*something == -0 even when the 'something' is positive, if the system is not set to round to nearest.
(This is very narrow and I can't reproduce it locally. The patch is a precaution.)