Merge pull request #404 from latent-9/docs/fix-strtod-typo

docs: fix strtod function name in README
This commit is contained in:
Daniel Lemire 2026-08-08 15:48:33 -04:00 committed by GitHub
commit a1f63a883d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -204,7 +204,7 @@ When parsing floating-point values, the numbers can sometimes be too small
(e.g., `1e-1000`) or too large (e.g., `1e1000`). The C language established the (e.g., `1e-1000`) or too large (e.g., `1e1000`). The C language established the
precedent that these small values are out of range. In such cases, it is precedent that these small values are out of range. In such cases, it is
customary to parse small values to zero and large values to infinity. That is customary to parse small values to zero and large values to infinity. That is
the behaviour of the C language (e.g., `stdtod`). That is the behaviour followed the behaviour of the C language (e.g., `strtod`). That is the behaviour followed
by the fast_float library. by the fast_float library.
Specifically, we follow Jonathan Wakely's interpretation of the standard: Specifically, we follow Jonathan Wakely's interpretation of the standard: