Joseph Myers 64f62c47e9 Do not set errno for overflowing NaN payload in strtod/nan (bug 32045)
As reported in bug 32045, it's incorrect for strtod/nan functions to
set errno based on overflowing payload (strtod should only set errno
for overflow / underflow of its actual result, and potentially if
nothing in the string can be parsed as a number at all; nan should be
a pure function that never sets it).  Save and restore errno around
the internal strtoull call and add associated test coverage.

Tested for x86_64.
2024-09-04 13:21:23 +00:00
..
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-02-01 11:02:01 +00:00
2024-07-31 14:26:00 +08:00
2024-02-01 11:02:01 +00:00
2021-09-03 22:06:44 +05:30
2021-09-03 22:06:44 +05:30
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00
2024-01-03 12:07:14 +00:00