diff options
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r-- | sysdeps/ieee754/dbl-64/s_finite.c | 3 | ||||
-rw-r--r-- | sysdeps/ieee754/flt-32/s_finitef.c | 5 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-128/s_finitel.c | 3 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-96/s_finitel.c | 3 |
4 files changed, 13 insertions, 1 deletions
diff --git a/sysdeps/ieee754/dbl-64/s_finite.c b/sysdeps/ieee754/dbl-64/s_finite.c index b12ff42360..2317f4a105 100644 --- a/sysdeps/ieee754/dbl-64/s_finite.c +++ b/sysdeps/ieee754/dbl-64/s_finite.c @@ -22,6 +22,8 @@ static char rcsid[] = "$NetBSD: s_finite.c,v 1.8 1995/05/10 20:47:17 jtc Exp $"; #include "math.h" #include "math_private.h" +#undef __finite + #ifdef __STDC__ int __finite(double x) #else @@ -33,6 +35,7 @@ static char rcsid[] = "$NetBSD: s_finite.c,v 1.8 1995/05/10 20:47:17 jtc Exp $"; GET_HIGH_WORD(hx,x); return (int)((u_int32_t)((hx&0x7fffffff)-0x7ff00000)>>31); } +INTDEF(__finite) weak_alias (__finite, finite) #ifdef NO_LONG_DOUBLE strong_alias (__finite, __finitel) diff --git a/sysdeps/ieee754/flt-32/s_finitef.c b/sysdeps/ieee754/flt-32/s_finitef.c index baafc31aec..74019c763e 100644 --- a/sysdeps/ieee754/flt-32/s_finitef.c +++ b/sysdeps/ieee754/flt-32/s_finitef.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. * ==================================================== */ @@ -25,6 +25,8 @@ static char rcsid[] = "$NetBSD: s_finitef.c,v 1.4 1995/05/10 20:47:18 jtc Exp $" #include "math.h" #include "math_private.h" +#undef __finitef + #ifdef __STDC__ int __finitef(float x) #else @@ -36,4 +38,5 @@ static char rcsid[] = "$NetBSD: s_finitef.c,v 1.4 1995/05/10 20:47:18 jtc Exp $" GET_FLOAT_WORD(ix,x); return (int)((u_int32_t)((ix&0x7fffffff)-0x7f800000)>>31); } +INTDEF(__finitef) weak_alias (__finitef, finitef) diff --git a/sysdeps/ieee754/ldbl-128/s_finitel.c b/sysdeps/ieee754/ldbl-128/s_finitel.c index dd176c1e7a..a2372dc8d9 100644 --- a/sysdeps/ieee754/ldbl-128/s_finitel.c +++ b/sysdeps/ieee754/ldbl-128/s_finitel.c @@ -25,6 +25,8 @@ static char rcsid[] = "$NetBSD: $"; #include "math.h" #include "math_private.h" +#undef __finitel + #ifdef __STDC__ int __finitel(long double x) #else @@ -37,4 +39,5 @@ static char rcsid[] = "$NetBSD: $"; return (int)((u_int64_t)((hx&0x7fffffffffffffffLL) -0x7fff000000000000LL)>>63); } +INTDEF(__finitel) weak_alias (__finitel, finitel) diff --git a/sysdeps/ieee754/ldbl-96/s_finitel.c b/sysdeps/ieee754/ldbl-96/s_finitel.c index 6e444e90d0..3bbb21a2bb 100644 --- a/sysdeps/ieee754/ldbl-96/s_finitel.c +++ b/sysdeps/ieee754/ldbl-96/s_finitel.c @@ -26,6 +26,8 @@ static char rcsid[] = "$NetBSD: $"; #include "math.h" #include "math_private.h" +#undef __finitel + #ifdef __STDC__ int __finitel(long double x) #else @@ -37,4 +39,5 @@ static char rcsid[] = "$NetBSD: $"; GET_LDOUBLE_EXP(exp,x); return (int)((u_int32_t)((exp&0x7fff)-0x7fff)>>31); } +INTDEF(__finitel) weak_alias (__finitel, finitel) |