Module Name: src
Committed By: joerg
Date: Thu Jan 30 20:31:50 UTC 2020
Modified Files:
src/lib/libm/src: s_frexp.c
Log Message:
Provide frexpl on non-long-double systems as alias to frexp.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/libm/src/s_frexp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libm/src/s_frexp.c
diff -u src/lib/libm/src/s_frexp.c:1.13 src/lib/libm/src/s_frexp.c:1.14
--- src/lib/libm/src/s_frexp.c:1.13 Sun Sep 28 18:54:55 2008
+++ src/lib/libm/src/s_frexp.c Thu Jan 30 20:31:50 2020
@@ -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 @@ __RCSID("$NetBSD: s_frexp.c,v 1.13 2008/
#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 */