Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire authored Aug 26, 2024
1 parent 4c303f4 commit 56153ba
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,11 @@ print the number 22250738585072012 three times:
## Behavior of result_out_of_range

When parsing floating-point values, the numbers can sometimes be too small (e.g., `1e-1000`) or
too large (e.g., `1e1000`). In such cases, it is customary to parse small values to zero and large
values to infinity. That is the behaviour followed by the fast_float library.
too large (e.g., `1e1000`). The C language established the 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 the behaviour of the C language (e.g., `stdtod`). That is the behaviour followed by the fast_float library.



Specifically, we follow Jonathan Wakely's interpretation of the standard:

Expand Down

0 comments on commit 56153ba

Please sign in to comment.