]> 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)
committerJoseph Myers <josmyers@redhat.com>
Fri, 20 Sep 2024 23:25:32 +0000 (23:25 +0000)
commit94ca2c0894f0e1b62625c369cc598a2b9236622c
tree934360cc1ad43cbf9fe001766f5c472aa36fb43b
parent378039ca578c2ea93095a1e710d96f58c68a3997
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.
stdlib/tst-strtod-underflow.c