Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libm/src If __HAVE_LONG_DOUBLE is not defined,
details: https://anonhg.NetBSD.org/src/rev/42b710e010b9
branches: trunk
changeset: 788752:42b710e010b9
user: matt <matt%NetBSD.org@localhost>
date: Thu Jul 18 22:32:53 2013 +0000
description:
If __HAVE_LONG_DOUBLE is not defined,
add a strong alias for nextafterl to nextafter
diffstat:
lib/libm/src/s_nextafter.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 71017598d151 -r 42b710e010b9 lib/libm/src/s_nextafter.c
--- a/lib/libm/src/s_nextafter.c Thu Jul 18 22:31:13 2013 +0000
+++ b/lib/libm/src/s_nextafter.c Thu Jul 18 22:32:53 2013 +0000
@@ -12,7 +12,7 @@
#include <sys/cdefs.h>
#if defined(LIBM_SCCS) && !defined(lint)
-__RCSID("$NetBSD: s_nextafter.c,v 1.12 2011/04/18 15:59:09 drochner Exp $");
+__RCSID("$NetBSD: s_nextafter.c,v 1.13 2013/07/18 22:32:53 matt Exp $");
#endif
/* IEEE functions
@@ -25,6 +25,10 @@
#include "math.h"
#include "math_private.h"
+#ifndef __HAVE_LONG_DOUBLE
+__strong_alias(nextafterl, nextafter)
+#endif
+
double
nextafter(double x, double y)
{
Home |
Main Index |
Thread Index |
Old Index