Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libm/src Long double conditional.
details: https://anonhg.NetBSD.org/src/rev/667cfda0d11c
branches: trunk
changeset: 791476:667cfda0d11c
user: joerg <joerg%NetBSD.org@localhost>
date: Wed Nov 20 11:39:00 2013 +0000
description:
Long double conditional.
diffstat:
lib/libm/src/w_sqrtl.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 28d00b4fcfab -r 667cfda0d11c lib/libm/src/w_sqrtl.c
--- a/lib/libm/src/w_sqrtl.c Wed Nov 20 08:11:36 2013 +0000
+++ b/lib/libm/src/w_sqrtl.c Wed Nov 20 11:39:00 2013 +0000
@@ -11,7 +11,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: w_sqrtl.c,v 1.1 2013/11/19 19:24:34 joerg Exp $");
+__RCSID("$NetBSD: w_sqrtl.c,v 1.2 2013/11/20 11:39:00 joerg Exp $");
/*
* wrapper sqrtl(x)
@@ -21,6 +21,8 @@
#include "math.h"
#include "math_private.h"
+#ifdef __HAVE_LONG_DOUBLE
+
__weak_alias(sqrtl, _sqrtl)
long double
@@ -38,3 +40,5 @@
return z;
#endif
}
+
+#endif /* __HAVE_LONG_DOUBLE */
Home |
Main Index |
Thread Index |
Old Index