aboutsummaryrefslogtreecommitdiff
path: root/stdlib/tst-strtod3.c
AgeCommit message (Collapse)AuthorFilesLines
2024-08-27Make __strtod_internal tests type-genericJoseph Myers1-35/+67
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.
2006-12-11* stdlib/strtod_l.c (____STRTOF_INTERNAL): Parse thousandUlrich Drepper1-0/+55
separators also if no non-zero digits found. * stdlib/Makefile (tests): Add tst-strtod3.
2004-12-22(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper1-55/+0
2007-07-122.5-18.1Jakub Jelinek1-0/+55