about summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-96
diff options
context:
space:
mode:
authorJoseph Myers <josmyers@redhat.com>2024-08-27 20:41:54 +0000
committerJoseph Myers <josmyers@redhat.com>2024-08-27 20:41:54 +0000
commit3fc063dee01da4f80920a14b7db637c8501d6fd4 (patch)
tree8a93c0997d50c7196ea5d6ac4765ee3e11fee541 /sysdeps/ieee754/ldbl-96
parent457622c2fa8f9f7435822d5287a437bc8be8090d (diff)
downloadglibc-3fc063dee01da4f80920a14b7db637c8501d6fd4.tar.gz
glibc-3fc063dee01da4f80920a14b7db637c8501d6fd4.tar.xz
glibc-3fc063dee01da4f80920a14b7db637c8501d6fd4.zip
Make __strtod_internal tests type-generic
Some of the strtod tests use type-generic machinery in tst-strtod.h to
test the strto* functions for all floating types, while others only
test double even when the tests are in fact meaningful for all
floating types.

Convert the tests of the internal __strtod_internal interface to cover
all floating types.  I haven't tried to convert them to use newer test
interfaces in other ways, just made the changes necessary to use the
type-generic machinery.  As an internal interface, there are no
aliases for different types with the same ABI (however,
__strtold_internal is defined even if long double has the same ABI as
double), so macros used by the type-generic testing code are redefined
as needed to avoid expecting such aliases to be present.

Tested for x86_64.
Diffstat (limited to 'sysdeps/ieee754/ldbl-96')
0 files changed, 0 insertions, 0 deletions