diff options
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r-- | sysdeps/ieee754/dbl-64/s_isinf.c | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/s_isnan.c | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/flt-32/s_isinff.c | 1 | ||||
-rw-r--r-- | sysdeps/ieee754/flt-32/s_isnanf.c | 3 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-128/s_isinfl.c | 1 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-128/s_isnanl.c | 1 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-96/s_isinfl.c | 1 |
7 files changed, 10 insertions, 1 deletions
diff --git a/sysdeps/ieee754/dbl-64/s_isinf.c b/sysdeps/ieee754/dbl-64/s_isinf.c index 4f063d09c5..ab509a00ae 100644 --- a/sysdeps/ieee754/dbl-64/s_isinf.c +++ b/sysdeps/ieee754/dbl-64/s_isinf.c @@ -25,8 +25,10 @@ __isinf (double x) lx |= -lx; return ~(lx >> 31) & (hx >> 30); } +INTDEF(__isinf) weak_alias (__isinf, isinf) #ifdef NO_LONG_DOUBLE strong_alias (__isinf, __isinfl) +INTDEF(__isinfl) weak_alias (__isinf, isinfl) #endif diff --git a/sysdeps/ieee754/dbl-64/s_isnan.c b/sysdeps/ieee754/dbl-64/s_isnan.c index 86301e1531..27f8565457 100644 --- a/sysdeps/ieee754/dbl-64/s_isnan.c +++ b/sysdeps/ieee754/dbl-64/s_isnan.c @@ -36,8 +36,10 @@ static char rcsid[] = "$NetBSD: s_isnan.c,v 1.8 1995/05/10 20:47:36 jtc Exp $"; hx = 0x7ff00000 - hx; return (int)(((u_int32_t)hx)>>31); } +INTDEF(__isnan) weak_alias (__isnan, isnan) #ifdef NO_LONG_DOUBLE strong_alias (__isnan, __isnanl) +INTDEF(__isnanl) weak_alias (__isnan, isnanl) #endif diff --git a/sysdeps/ieee754/flt-32/s_isinff.c b/sysdeps/ieee754/flt-32/s_isinff.c index efc0935251..2bf2364426 100644 --- a/sysdeps/ieee754/flt-32/s_isinff.c +++ b/sysdeps/ieee754/flt-32/s_isinff.c @@ -25,4 +25,5 @@ __isinff (float x) t |= -t; return ~(t >> 31) & (ix >> 30); } +INTDEF(__isinff) weak_alias (__isinff, isinff) diff --git a/sysdeps/ieee754/flt-32/s_isnanf.c b/sysdeps/ieee754/flt-32/s_isnanf.c index 9ec412fd66..93a3c3f200 100644 --- a/sysdeps/ieee754/flt-32/s_isnanf.c +++ b/sysdeps/ieee754/flt-32/s_isnanf.c @@ -8,7 +8,7 @@ * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this - * software is freely granted, provided that this notice + * software is freely granted, provided that this notice * is preserved. * ==================================================== */ @@ -38,4 +38,5 @@ static char rcsid[] = "$NetBSD: s_isnanf.c,v 1.4 1995/05/10 20:47:38 jtc Exp $"; ix = 0x7f800000 - ix; return (int)(((u_int32_t)(ix))>>31); } +INTDEF(__isnanf) weak_alias (__isnanf, isnanf) diff --git a/sysdeps/ieee754/ldbl-128/s_isinfl.c b/sysdeps/ieee754/ldbl-128/s_isinfl.c index 038c294c79..2867e903f5 100644 --- a/sysdeps/ieee754/ldbl-128/s_isinfl.c +++ b/sysdeps/ieee754/ldbl-128/s_isinfl.c @@ -25,4 +25,5 @@ __isinfl (long double x) lx |= -lx; return ~(lx >> 63) & (hx >> 62); } +INTDEF(__isinfl) weak_alias (__isinfl, isinfl) diff --git a/sysdeps/ieee754/ldbl-128/s_isnanl.c b/sysdeps/ieee754/ldbl-128/s_isnanl.c index d2fb4038ce..ea701fefb8 100644 --- a/sysdeps/ieee754/ldbl-128/s_isnanl.c +++ b/sysdeps/ieee754/ldbl-128/s_isnanl.c @@ -39,4 +39,5 @@ static char rcsid[] = "$NetBSD: $"; hx = 0x7fff000000000000LL - hx; return (int)((u_int64_t)hx>>63); } +INTDEF(__isnanl) weak_alias (__isnanl, isnanl) diff --git a/sysdeps/ieee754/ldbl-96/s_isinfl.c b/sysdeps/ieee754/ldbl-96/s_isinfl.c index 6f7c07c5af..919c2ff3f8 100644 --- a/sysdeps/ieee754/ldbl-96/s_isinfl.c +++ b/sysdeps/ieee754/ldbl-96/s_isinfl.c @@ -26,4 +26,5 @@ __isinfl (long double x) se &= 0x8000; return ~(lx >> 31) & (1 - (se >> 14)); } +INTDEF(__isinfl) weak_alias (__isinfl, isinfl) |