__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:
Enji Cooper 2014-10-13 02:32:37 +00:00
parent 267693b269
commit 8a05dd8595
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273023

View File

@ -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");