mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +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:
@ -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;
|
||||
|
@ -165,7 +165,7 @@ __printf_fphex (FILE *fp,
|
||||
fpnum.ldbl = *(const long double *) args[0];
|
||||
|
||||
/* Check for special values: not a number or infinity. */
|
||||
if (__isnanl (fpnum.ldbl))
|
||||
if (isnan (fpnum.ldbl))
|
||||
{
|
||||
if (isupper (info->spec))
|
||||
{
|
||||
@ -202,7 +202,7 @@ __printf_fphex (FILE *fp,
|
||||
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))
|
||||
{
|
||||
negative = fpnum.dbl.ieee.negative != 0;
|
||||
if (isupper (info->spec))
|
||||
|
@ -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