aboutsummaryrefslogtreecommitdiff
path: root/math
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:25:43 +0200
commit86369c9ee4d200527e85d240fa0ee081fdb9fb4c (patch)
tree89ac1735a6fbefdbcd5b1a85c15e24dbc9785871 /math
parenta7be595c67d12f1a442e3f6894d67e20c7724bed (diff)
downloadglibc-86369c9ee4d200527e85d240fa0ee081fdb9fb4c.tar.xz
glibc-86369c9ee4d200527e85d240fa0ee081fdb9fb4c.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 'math')
0 files changed, 0 insertions, 0 deletions