File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -147,8 +147,11 @@ print the number 22250738585072012 three times:
147
147
## Behavior of result_out_of_range
148
148
149
149
When parsing floating-point values, the numbers can sometimes be too small (e.g., ` 1e-1000 ` ) or
150
- too large (e.g., ` 1e1000 ` ). In such cases, it is customary to parse small values to zero and large
151
- values to infinity. That is the behaviour followed by the fast_float library.
150
+ too large (e.g., ` 1e1000 ` ). The C language established the precedent that these small values are out of range.
151
+ In such cases, it is customary to parse small values to zero and large
152
+ values to infinity. That is the behaviour of the C language (e.g., ` stdtod ` ). That is the behaviour followed by the fast_float library.
153
+
154
+
152
155
153
156
Specifically, we follow Jonathan Wakely's interpretation of the standard:
154
157
You can’t perform that action at this time.
0 commit comments