summaryrefslogtreecommitdiffstats
path: root/lib/msun
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2005-03-07 04:54:39 +0000
committerdas <das@FreeBSD.org>2005-03-07 04:54:39 +0000
commit2474fb3758802ed4ab25b70ebbadd613ca7c492d (patch)
tree0c10f8cfe828efa8656106c059e5847d72fd13de /lib/msun
parentc8e0555e08a6b4254ab2a443fbd2cb4f1a64f776 (diff)
downloadFreeBSD-src-2474fb3758802ed4ab25b70ebbadd613ca7c492d.zip
FreeBSD-src-2474fb3758802ed4ab25b70ebbadd613ca7c492d.tar.gz
Alias frexp as frexpl on platforms where a long double is the same as
a double.
Diffstat (limited to 'lib/msun')
-rw-r--r--lib/msun/src/s_frexp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/msun/src/s_frexp.c b/lib/msun/src/s_frexp.c
index eeb70d9..de9b927 100644
--- a/lib/msun/src/s_frexp.c
+++ b/lib/msun/src/s_frexp.c
@@ -24,6 +24,9 @@ static char rcsid[] = "$FreeBSD$";
* with *exp=0.
*/
+#include <sys/cdefs.h>
+#include <float.h>
+
#include "math.h"
#include "math_private.h"
@@ -49,3 +52,7 @@ frexp(double x, int *eptr)
SET_HIGH_WORD(x,hx);
return x;
}
+
+#if (LDBL_MANT_DIG == 53)
+__strong_reference(frexp, frexpl);
+#endif
OpenPOWER on IntegriCloud