1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00

This patch renames all uses of __isinf*, __isnan*, __finite* and __signbit* to use standard C99 macros. This has no effect on generated code.

This commit is contained in:
Wilco Dijkstra
2015-06-03 15:36:34 +01:00
parent f014e87eff
commit d81f90ccd0
90 changed files with 268 additions and 175 deletions

View File

@@ -333,7 +333,7 @@ ___printf_fp (FILE *fp,
/* Check for special values: not a number or infinity. */
int res;
if (__isnanl (fpnum.ldbl))
if (isnan (fpnum.ldbl))
{
is_neg = signbit (fpnum.ldbl);
if (isupper (info->spec))
@@ -378,7 +378,7 @@ ___printf_fp (FILE *fp,
/* Check for special values: not a number or infinity. */
int res;
if (__isnan (fpnum.dbl))
if (isnan (fpnum.dbl))
{
union ieee754_double u = { .d = fpnum.dbl };
is_neg = u.ieee.negative != 0;