]> git.ipfire.org Git - thirdparty/glibc.git/commit
Make tst-strtod-underflow type-generic
authorJoseph Myers <josmyers@redhat.com>
Fri, 20 Sep 2024 23:25:32 +0000 (23:25 +0000)
committerArjun Shankar <arjun@redhat.com>
Fri, 18 Oct 2024 16:57:00 +0000 (18:57 +0200)
commit85e5850f2f4ea5f304be5356ecb7a15998766a4e
tree2141b57b9e299e9e90502e6800e53a5c1c5b4406
parent5c06c6e0b5078ffb0aa0c09bac79f086145e0897
Make tst-strtod-underflow type-generic

The test tst-strtod-underflow covers various edge cases close to the
underflow threshold for strtod (especially cases where underflow on
architectures with after-rounding tininess detection depends on the
rounding mode).  Make it use the type-generic machinery, with
corresponding test inputs for each supported floating-point format, so
that other functions in the strtod family are tested for underflow
edge cases as well.

Tested for x86_64.

(cherry picked from commit 94ca2c0894f0e1b62625c369cc598a2b9236622c)
stdlib/tst-strtod-underflow.c