From f8a40fca14d99671f7047eadfac4c0bbfbd89e11 Mon Sep 17 00:00:00 2001 From: David Schultz Date: Mon, 7 Mar 2005 04:54:39 +0000 Subject: [PATCH] Alias frexp as frexpl on platforms where a long double is the same as a double. --- lib/msun/src/s_frexp.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/msun/src/s_frexp.c b/lib/msun/src/s_frexp.c index eeb70d9f2ee..de9b92729da 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 +#include + #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