Source-Changes-HG archive

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

[src/trunk]: src/lib/libm/src Provide frexpl on non-long-double systems as al...



details:   https://anonhg.NetBSD.org/src/rev/f5e2f157aed5
branches:  trunk
changeset: 968867:f5e2f157aed5
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Jan 30 20:31:50 2020 +0000

description:
Provide frexpl on non-long-double systems as alias to frexp.

diffstat:

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

diffs (23 lines):

diff -r 82a53ef46c6c -r f5e2f157aed5 lib/libm/src/s_frexp.c
--- a/lib/libm/src/s_frexp.c    Thu Jan 30 14:07:40 2020 +0000
+++ b/lib/libm/src/s_frexp.c    Thu Jan 30 20:31:50 2020 +0000
@@ -12,7 +12,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBM_SCCS) && !defined(lint)
-__RCSID("$NetBSD: s_frexp.c,v 1.13 2008/09/28 18:54:55 christos Exp $");
+__RCSID("$NetBSD: s_frexp.c,v 1.14 2020/01/30 20:31:50 joerg Exp $");
 #endif
 
 /*
@@ -28,6 +28,10 @@
 #include "math.h"
 #include "math_private.h"
 
+#ifndef __HAVE_LONG_DOUBLE
+__strong_alias(frexpl, frexp)
+#endif
+
 static const double
 two54 =  1.80143985094819840000e+16; /* 0x43500000, 0x00000000 */
 



Home | Main Index | Thread Index | Old Index