Source-Changes-HG archive

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

[src/trunk]: src/lib/libm/src s_rint.c: weak-alias rintl -> rint for ports wi...



details:   https://anonhg.NetBSD.org/src/rev/a6d1a5eb661a
branches:  trunk
changeset: 369716:a6d1a5eb661a
user:      he <he%NetBSD.org@localhost>
date:      Sun Aug 28 21:24:09 2022 +0000

description:
s_rint.c: weak-alias rintl -> rint for ports without __HAVE_LONG_DOUBLE.

diffstat:

 lib/libm/src/s_rint.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 5fc5868ec788 -r a6d1a5eb661a lib/libm/src/s_rint.c
--- a/lib/libm/src/s_rint.c     Sun Aug 28 19:09:12 2022 +0000
+++ b/lib/libm/src/s_rint.c     Sun Aug 28 21:24:09 2022 +0000
@@ -12,7 +12,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBM_SCCS) && !defined(lint)
-__RCSID("$NetBSD: s_rint.c,v 1.12 2008/04/25 22:21:53 christos Exp $");
+__RCSID("$NetBSD: s_rint.c,v 1.13 2022/08/28 21:24:09 he Exp $");
 #endif
 
 /*
@@ -77,3 +77,7 @@
        w = TWO52[sx]+x;
        return w-TWO52[sx];
 }
+
+#if !defined(__HAVE_LONG_DOUBLE)
+__weak_alias(rintl, rint)
+#endif



Home | Main Index | Thread Index | Old Index