From f83af095b6fc49de3914f4426202171341783277 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 14 Apr 2002 17:55:43 +0000 Subject: 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. --- sysdeps/ieee754/dbl-64/s_isinf.c | 2 ++ sysdeps/ieee754/dbl-64/s_isnan.c | 2 ++ sysdeps/ieee754/flt-32/s_isinff.c | 1 + sysdeps/ieee754/flt-32/s_isnanf.c | 3 ++- sysdeps/ieee754/ldbl-128/s_isinfl.c | 1 + sysdeps/ieee754/ldbl-128/s_isnanl.c | 1 + sysdeps/ieee754/ldbl-96/s_isinfl.c | 1 + 7 files changed, 10 insertions(+), 1 deletion(-) (limited to 'sysdeps/ieee754') diff --git a/sysdeps/ieee754/dbl-64/s_isinf.c b/sysdeps/ieee754/dbl-64/s_isinf.c index 4f063d0..ab509a0 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 86301e1..27f8565 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 efc0935..2bf2364 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 9ec412f..93a3c3f 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 038c294..2867e90 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 d2fb403..ea701fe 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 6f7c07c..919c2ff 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) -- cgit v1.1