Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2014 02:32:38 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r273023 - head/contrib/netbsd-tests/lib/libc/stdlib
Message-ID:  <201410130232.s9D2WcZu037689@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Mon Oct 13 02:32:37 2014
New Revision: 273023
URL: https://svnweb.freebsd.org/changeset/base/273023

Log:
  __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

Modified:
  head/contrib/netbsd-tests/lib/libc/stdlib/t_strtod.c

Modified: head/contrib/netbsd-tests/lib/libc/stdlib/t_strtod.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/stdlib/t_strtod.c	Mon Oct 13 02:29:58 2014	(r273022)
+++ head/contrib/netbsd-tests/lib/libc/stdlib/t_strtod.c	Mon Oct 13 02:32:37 2014	(r273023)
@@ -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");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410130232.s9D2WcZu037689>