diff options
Diffstat (limited to 'lib/msun/src/s_logb.c')
-rw-r--r-- | lib/msun/src/s_logb.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/msun/src/s_logb.c b/lib/msun/src/s_logb.c index f667bf2..4091429 100644 --- a/lib/msun/src/s_logb.c +++ b/lib/msun/src/s_logb.c @@ -20,6 +20,8 @@ static char rcsid[] = "$FreeBSD$"; * Use ilogb instead. */ +#include <float.h> + #include "math.h" #include "math_private.h" @@ -42,3 +44,7 @@ logb(double x) } else return (double) ((ix>>20)-1023); } + +#if (LDBL_MANT_DIG == 53) +__weak_reference(logb, logbl); +#endif |