Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen Add fabsl alias if necessary.
details: https://anonhg.NetBSD.org/src/rev/320b0a489efa
branches: trunk
changeset: 325000:320b0a489efa
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Nov 29 22:15:26 2013 +0000
description:
Add fabsl alias if necessary.
diffstat:
lib/libc/gen/fabs_ieee754.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 2570a7bc40b8 -r 320b0a489efa lib/libc/gen/fabs_ieee754.c
--- a/lib/libc/gen/fabs_ieee754.c Fri Nov 29 21:57:31 2013 +0000
+++ b/lib/libc/gen/fabs_ieee754.c Fri Nov 29 22:15:26 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fabs_ieee754.c,v 1.2 2010/09/10 16:32:35 matt Exp $ */
+/* $NetBSD: fabs_ieee754.c,v 1.3 2013/11/29 22:15:26 joerg Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: fabs_ieee754.c,v 1.2 2010/09/10 16:32:35 matt Exp $");
+__RCSID("$NetBSD: fabs_ieee754.c,v 1.3 2013/11/29 22:15:26 joerg Exp $");
#endif
#include <machine/ieee.h>
@@ -41,6 +41,10 @@
* 7.12.3.6 fabs - return the absolute value of the argument
* IEEE 754 double-precision version
*/
+#ifndef __HAVE_LONG_DOUBLE
+__strong_alias(fabsl, fabs)
+#endif
+
double
fabs(double x)
{
Home |
Main Index |
Thread Index |
Old Index