docs: fix strtod function name in README

This commit is contained in:
latent-9 2026-08-09 00:06:35 +12:00
parent f6df0f2917
commit 37fb7d73da
No known key found for this signature in database

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: