diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-04-14 17:55:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-04-14 17:55:43 +0000 |
commit | f83af095b6fc49de3914f4426202171341783277 (patch) | |
tree | ac1a86e37bb3d15c0a830737c5112b8b90c4a286 /sysdeps/ieee754 | |
parent | 29886719b5e20f210f9f0133ca381ca995dbc1e0 (diff) | |
download | glibc-f83af095b6fc49de3914f4426202171341783277.tar glibc-f83af095b6fc49de3914f4426202171341783277.tar.gz glibc-f83af095b6fc49de3914f4426202171341783277.tar.bz2 glibc-f83af095b6fc49de3914f4426202171341783277.zip |
Update.
* include/math.h: Declare __isinf_internal, __isinfl_internal,
__isnan_internal, and __isnanl_internal.
* stdio-common/printf_fp.c: Use INTUSE for calls to __isinf, __isinfl,
__isnan, and __isnanl.
* stdio-common/printf_size.c: Likewise.
* sysdeps/generic/printf_fphex.c: Likewise.
* sysdeps/i386/fpu/s_isinfl.c: Also define _internal alias.
* sysdeps/i386/fpu/s_isnanl.c: Likewise.
* sysdeps/ia64/fpu/s_isinf.S: Likewise.
* sysdeps/ia64/fpu/s_isnan.S: Likewise.
* sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
* sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
* sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
* sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
* sysdeps/m68k/s_isinfl.c: Likewise.
* sysdeps/m68k/fpu/s_isinf.c: Likewise.
* sysdeps/powerpc/fpu/s_isnan.c: Likewise.
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) |