about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/le/Makefile
diff options
context:
space:
mode:
authorJoseph Myers <josmyers@redhat.com>2024-09-04 13:21:23 +0000
committerArjun Shankar <arjun@redhat.com>2024-09-27 17:25:43 +0200
commit6624318c89185fe8b9d1f61e7a6841a843b8f9f3 (patch)
treeb7c36e0da59c534b94dac94b3caccc01153f765d /sysdeps/powerpc/powerpc64/le/Makefile
parent63bcc017446d14e64aed8511845400fc661f2828 (diff)
downloadglibc-6624318c89185fe8b9d1f61e7a6841a843b8f9f3.tar.gz
glibc-6624318c89185fe8b9d1f61e7a6841a843b8f9f3.tar.xz
glibc-6624318c89185fe8b9d1f61e7a6841a843b8f9f3.zip
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.

(cherry picked from commit 64f62c47e9c350f353336f2df6714e1d48ec50d8)
Diffstat (limited to 'sysdeps/powerpc/powerpc64/le/Makefile')
0 files changed, 0 insertions, 0 deletions