Module Name:    src
Committed By:   martin
Date:           Wed Nov 20 21:12:30 UTC 2013

Modified Files:
        src/lib/libm/src: e_sqrtl.c

Log Message:
Make it compile on archs with implicit NBIT


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libm/src/e_sqrtl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libm/src/e_sqrtl.c
diff -u src/lib/libm/src/e_sqrtl.c:1.1 src/lib/libm/src/e_sqrtl.c:1.2
--- src/lib/libm/src/e_sqrtl.c:1.1	Tue Nov 19 19:24:34 2013
+++ src/lib/libm/src/e_sqrtl.c	Wed Nov 20 21:12:30 2013
@@ -28,7 +28,7 @@
 #if 0
 __FBSDID("$FreeBSD: head/lib/msun/src/e_sqrtl.c 176720 2008-03-02 01:47:58Z das $");
 #endif
-__RCSID("$NetBSD: e_sqrtl.c,v 1.1 2013/11/19 19:24:34 joerg Exp $");
+__RCSID("$NetBSD: e_sqrtl.c,v 1.2 2013/11/20 21:12:30 martin Exp $");
 
 #include <machine/ieee.h>
 #include <fenv.h>
@@ -39,6 +39,10 @@ __RCSID("$NetBSD: e_sqrtl.c,v 1.1 2013/1
 
 #ifdef __HAVE_LONG_DOUBLE
 
+#ifdef LDBL_IMPLICIT_NBIT
+#define	LDBL_NBIT	0
+#endif
+
 /* Return (x + ulp) for normal positive x. Assumes no overflow. */
 static inline long double
 inc(long double x)

Reply via email to