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:
@@ -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";
|
||||
|
Reference in New Issue
Block a user