Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libm/src On systems without __HAVE_LONG_DOUBLE, also ali...



details:   https://anonhg.NetBSD.org/src/rev/d3f213583b03
branches:  trunk
changeset: 826121:d3f213583b03
user:      he <he%NetBSD.org@localhost>
date:      Wed Aug 16 09:15:48 2017 +0000

description:
On systems without __HAVE_LONG_DOUBLE, also alias nexttoward() and
nexttowardl() to nextafter().

diffstat:

 lib/libm/src/s_nextafter.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 3f3c84d860d5 -r d3f213583b03 lib/libm/src/s_nextafter.c
--- a/lib/libm/src/s_nextafter.c        Wed Aug 16 08:44:40 2017 +0000
+++ b/lib/libm/src/s_nextafter.c        Wed Aug 16 09:15:48 2017 +0000
@@ -12,7 +12,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBM_SCCS) && !defined(lint)
-__RCSID("$NetBSD: s_nextafter.c,v 1.14 2014/03/18 18:20:37 riastradh Exp $");
+__RCSID("$NetBSD: s_nextafter.c,v 1.15 2017/08/16 09:15:48 he Exp $");
 #endif
 
 /* IEEE functions
@@ -27,6 +27,8 @@
 
 #ifndef __HAVE_LONG_DOUBLE
 __strong_alias(nextafterl, nextafter)
+__strong_alias(nexttoward, nextafter)
+__strong_alias(nexttowardl, nextafter)
 #endif
 
 double



Home | Main Index | Thread Index | Old Index