Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libm/src Only compile is __HAVE_LONG_DOUBLE is defined
details: https://anonhg.NetBSD.org/src/rev/71017598d151
branches: trunk
changeset: 788751:71017598d151
user: matt <matt%NetBSD.org@localhost>
date: Thu Jul 18 22:31:13 2013 +0000
description:
Only compile is __HAVE_LONG_DOUBLE is defined
diffstat:
lib/libm/src/s_nextafterl.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 78eefa19cd2b -r 71017598d151 lib/libm/src/s_nextafterl.c
--- a/lib/libm/src/s_nextafterl.c Thu Jul 18 22:24:53 2013 +0000
+++ b/lib/libm/src/s_nextafterl.c Thu Jul 18 22:31:13 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: s_nextafterl.c,v 1.3 2013/02/14 08:56:56 matt Exp $ */
+/* $NetBSD: s_nextafterl.c,v 1.4 2013/07/18 22:31:13 matt Exp $ */
/* @(#)s_nextafter.c 5.1 93/09/24 */
/*
@@ -13,12 +13,14 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: s_nextafterl.c,v 1.3 2013/02/14 08:56:56 matt Exp $");
+__RCSID("$NetBSD: s_nextafterl.c,v 1.4 2013/07/18 22:31:13 matt Exp $");
#include <float.h>
#include <math.h>
#include <machine/ieee.h>
+#ifdef __HAVE_LONG_DOUBLE
+
#ifdef EXT_EXP_INFNAN
#if LDBL_MAX_EXP != 0x4000
#error "Unsupported long double format"
@@ -98,3 +100,5 @@
return ux.extu_ld;
}
#endif
+
+#endif /* __HAVE_LONG_DOUBLE */
Home |
Main Index |
Thread Index |
Old Index