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. --- stdio-common/printf_size.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'stdio-common/printf_size.c') diff --git a/stdio-common/printf_size.c b/stdio-common/printf_size.c index 4f2807bf77..cfb2c94c02 100644 --- a/stdio-common/printf_size.c +++ b/stdio-common/printf_size.c @@ -136,13 +136,13 @@ printf_size (FILE *fp, const struct printf_info *info, const void *const *args) fpnum.ldbl.d = *(const long double *) args[0]; /* Check for special values: not a number or infinity. */ - if (__isnanl (fpnum.ldbl.d)) + if (INTUSE(__isnanl) (fpnum.ldbl.d)) { special = "nan"; wspecial = L"nan"; negative = 0; } - else if (__isinfl (fpnum.ldbl.d)) + else if (INTUSE(__isinfl) (fpnum.ldbl.d)) { special = "inf"; wspecial = L"inf"; @@ -162,13 +162,13 @@ printf_size (FILE *fp, const struct printf_info *info, const void *const *args) fpnum.dbl.d = *(const double *) args[0]; /* Check for special values: not a number or infinity. */ - if (__isnan (fpnum.dbl.d)) + if (INTUSE(__isnan) (fpnum.dbl.d)) { special = "nan"; wspecial = L"nan"; negative = 0; } - else if (__isinf (fpnum.dbl.d)) + else if (INTUSE(__isinf) (fpnum.dbl.d)) { special = "inf"; wspecial = L"inf"; -- cgit v1.2.1