Merge pull request #385 from jwakely/patch-2

Fix spelling
This commit is contained in:
Daniel Lemire 2026-06-02 14:01:41 -04:00 committed by GitHub
commit 254f10ce39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,12 +7,12 @@
namespace fast_float {
/**
* This function parses the character sequence [first,last) for a number. It
* parses floating-point numbers expecting a locale-indepent format equivalent
* to what is used by std::strtod in the default ("C") locale. The resulting
* floating-point value is the closest floating-point values (using either float
* or double), using the "round to even" convention for values that would
* otherwise fall right in-between two values. That is, we provide exact parsing
* according to the IEEE standard.
* parses floating-point numbers expecting a locale-independent format
* equivalent to what is used by std::strtod in the default ("C") locale. The
* resulting floating-point value is the closest floating-point values (using
* either float or double), using the "round to even" convention for values that
* would otherwise fall right in-between two values. That is, we provide exact
* parsing according to the IEEE standard.
*
* Given a successful parse, the pointer (`ptr`) in the returned value is set to
* point right after the parsed number, and the `value` referenced is set to the