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 /stdio-common/printf_size.c | |
parent | 29886719b5e20f210f9f0133ca381ca995dbc1e0 (diff) | |
download | glibc-f83af095b6fc49de3914f4426202171341783277.tar.gz glibc-f83af095b6fc49de3914f4426202171341783277.tar.xz 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 'stdio-common/printf_size.c')
-rw-r--r-- | stdio-common/printf_size.c | 8 |
1 files changed, 4 insertions, 4 deletions
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"; |