Source-Changes-HG archive

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

[src/trunk]: src/lib/libm/src only alias sincos to sincosl when we don't have...



details:   https://anonhg.NetBSD.org/src/rev/17ff138e8d3b
branches:  trunk
changeset: 369688:17ff138e8d3b
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Aug 28 07:29:04 2022 +0000

description:
only alias sincos to sincosl when we don't have long doubles

diffstat:

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

diffs (20 lines):

diff -r b2068ff49416 -r 17ff138e8d3b lib/libm/src/s_sincos.c
--- a/lib/libm/src/s_sincos.c   Sun Aug 28 00:37:41 2022 +0000
+++ b/lib/libm/src/s_sincos.c   Sun Aug 28 07:29:04 2022 +0000
@@ -14,7 +14,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBM_SCCS) && !defined(lint)
-__RCSID("$NetBSD: s_sincos.c,v 1.1 2022/08/27 08:31:59 christos Exp $");
+__RCSID("$NetBSD: s_sincos.c,v 1.2 2022/08/28 07:29:04 christos Exp $");
 #endif
 #if 0
 __FBSDID("$FreeBSD: head/lib/msun/src/s_sincos.c 319047 2017-05-28 06:13:38Z mmel $");
@@ -85,6 +85,6 @@
        }
 }
 
-#if (LDBL_MANT_DIG == 53)
+#if !defined(__HAVE_LONG_DOUBLE)
 __weak_reference(sincos, sincosl);
 #endif



Home | Main Index | Thread Index | Old Index