1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +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

@@ -126,7 +126,7 @@ __printf_size (FILE *fp, const struct printf_info *info,
fpnum.ldbl = *(const long double *) args[0];
/* Check for special values: not a number or infinity. */
if (__isnanl (fpnum.ldbl))
if (isnan (fpnum.ldbl))
{
special = "nan";
wspecial = L"nan";
@@ -151,7 +151,7 @@ __printf_size (FILE *fp, const struct printf_info *info,
fpnum.dbl.d = *(const double *) args[0];
/* Check for special values: not a number or infinity. */
if (__isnan (fpnum.dbl.d))
if (isnan (fpnum.dbl.d))
{
special = "nan";
wspecial = L"nan";