mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-08 13:28:05 +00:00
__isnanl is automatically picked according to data type in <math.h>. There
isn't a need for the explicit __isnanl test Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
267693b269
commit
8a05dd8595
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273023
@ -221,7 +221,9 @@ ATF_TC_BODY(strtold_nan, tc)
|
||||
|
||||
volatile long double ld = strtold(nan_string, &end);
|
||||
ATF_REQUIRE(isnan(ld) != 0);
|
||||
#if !defined(__FreeBSD__)
|
||||
ATF_REQUIRE(__isnanl(ld) != 0);
|
||||
#endif
|
||||
ATF_REQUIRE(strcmp(end, "y") == 0);
|
||||
# else
|
||||
atf_tc_skip("Requires long double support");
|
||||
|
Loading…
Reference in New Issue
Block a user