aboutsummaryrefslogtreecommitdiff
path: root/scripts/cpp
diff options
context:
space:
mode:
authorJoseph Myers <josmyers@redhat.com>2024-08-27 20:41:54 +0000
committerArjun Shankar <arjun@redhat.com>2024-09-27 17:24:26 +0200
commitcac10d88c684c0171e549d813bfef7a31029f257 (patch)
treecf50d88641bdb2caebc0eb1ddca7bf9742a8f376 /scripts/cpp
parentd0c1792ad269566f877208ffda91c21dcd1a72e6 (diff)
downloadglibc-cac10d88c684c0171e549d813bfef7a31029f257.tar.xz
glibc-cac10d88c684c0171e549d813bfef7a31029f257.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. (cherry picked from commit 3fc063dee01da4f80920a14b7db637c8501d6fd4)
Diffstat (limited to 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions