]> sourceware.org Git - glibc.git/commitdiff
This patch renames all uses of __isinf*, __isnan*, __finite* and __signbit* to use...
authorWilco Dijkstra <wdijkstr@arm.com>
Wed, 3 Jun 2015 14:36:34 +0000 (15:36 +0100)
committerWilco Dijkstra <wdijkstr@arm.com>
Wed, 3 Jun 2015 14:41:36 +0000 (15:41 +0100)
90 files changed:
ChangeLog
math/e_exp10.c
math/e_exp10l.c
math/e_exp2l.c
math/e_scalb.c
math/e_scalbf.c
math/e_scalbl.c
math/s_ldexp.c
math/s_ldexpf.c
math/s_ldexpl.c
math/w_atan2.c
math/w_atan2f.c
math/w_atan2l.c
math/w_cosh.c
math/w_coshf.c
math/w_coshl.c
math/w_exp10.c
math/w_exp10f.c
math/w_exp10l.c
math/w_exp2.c
math/w_exp2f.c
math/w_exp2l.c
math/w_fmod.c
math/w_fmodf.c
math/w_fmodl.c
math/w_hypot.c
math/w_hypotf.c
math/w_hypotl.c
math/w_jnl.c
math/w_lgamma.c
math/w_lgamma_r.c
math/w_lgammaf.c
math/w_lgammaf_r.c
math/w_lgammal.c
math/w_lgammal_r.c
math/w_pow.c
math/w_powf.c
math/w_powl.c
math/w_remainder.c
math/w_remainderf.c
math/w_remainderl.c
math/w_scalb.c
math/w_scalbf.c
math/w_scalbl.c
math/w_scalbln.c
math/w_scalblnf.c
math/w_scalblnl.c
math/w_sinh.c
math/w_sinhf.c
math/w_sinhl.c
math/w_tgamma.c
math/w_tgammaf.c
math/w_tgammal.c
stdio-common/printf_fp.c
stdio-common/printf_fphex.c
stdio-common/printf_size.c
sysdeps/ieee754/dbl-64/e_exp.c
sysdeps/ieee754/dbl-64/e_exp10.c
sysdeps/ieee754/dbl-64/e_exp2.c
sysdeps/ieee754/dbl-64/e_j1.c
sysdeps/ieee754/dbl-64/e_jn.c
sysdeps/ieee754/dbl-64/e_pow.c
sysdeps/ieee754/dbl-64/w_exp.c
sysdeps/ieee754/flt-32/e_expf.c
sysdeps/ieee754/flt-32/e_j1f.c
sysdeps/ieee754/flt-32/e_jnf.c
sysdeps/ieee754/flt-32/w_expf.c
sysdeps/ieee754/ldbl-128/e_exp10l.c
sysdeps/ieee754/ldbl-128/e_expl.c
sysdeps/ieee754/ldbl-128/e_j0l.c
sysdeps/ieee754/ldbl-128/e_j1l.c
sysdeps/ieee754/ldbl-128/e_jnl.c
sysdeps/ieee754/ldbl-128/e_lgammal_r.c
sysdeps/ieee754/ldbl-128/s_cbrtl.c
sysdeps/ieee754/ldbl-128/w_expl.c
sysdeps/ieee754/ldbl-128ibm/e_acosl.c
sysdeps/ieee754/ldbl-128ibm/e_asinl.c
sysdeps/ieee754/ldbl-128ibm/e_exp10l.c
sysdeps/ieee754/ldbl-128ibm/e_expl.c
sysdeps/ieee754/ldbl-128ibm/e_jnl.c
sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c
sysdeps/ieee754/ldbl-128ibm/s_ctanl.c
sysdeps/ieee754/ldbl-128ibm/w_expl.c
sysdeps/ieee754/ldbl-96/e_j1l.c
sysdeps/ieee754/ldbl-96/e_jnl.c
sysdeps/ieee754/ldbl-96/w_expl.c
sysdeps/ieee754/ldbl-opt/nldbl-finite.c
sysdeps/ieee754/ldbl-opt/nldbl-isinf.c
sysdeps/ieee754/ldbl-opt/nldbl-isnan.c
sysdeps/ieee754/ldbl-opt/nldbl-signbit.c

index c1a9a7ebecc79e672ee4f5482bc9d4f46b594c0a..987e71f4d5fd83e7004bb439198e2479adde60d7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,96 @@
+2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
+
+       * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
+       __signbit* with standard C99 macros.
+       * math/e_exp10l.c: Likewise.
+       * math/e_exp2l.c: Likewise.
+       * math/e_scalb.c: Likewise.
+       * math/e_scalbf.c: Likewise.
+       * math/e_scalbl.c: Likewise.
+       * math/s_ldexp.c: Likewise.
+       * math/s_ldexpf.c: Likewise.
+       * math/s_ldexpl.c: Likewise.
+       * math/w_atan2.c: Likewise.
+       * math/w_atan2f.c: Likewise.
+       * math/w_atan2l.c: Likewise.
+       * math/w_cosh.c: Likewise.
+       * math/w_coshf.c: Likewise.
+       * math/w_coshl.c: Likewise.
+       * math/w_exp10.c: Likewise.
+       * math/w_exp10f.c: Likewise.
+       * math/w_exp10l.c: Likewise.
+       * math/w_exp2.c: Likewise.
+       * math/w_exp2f.c: Likewise.
+       * math/w_exp2l.c: Likewise.
+       * math/w_fmod.c: Likewise.
+       * math/w_fmodf.c: Likewise.
+       * math/w_fmodl.c: Likewise.
+       * math/w_hypot.c: Likewise.
+       * math/w_hypotf.c: Likewise.
+       * math/w_hypotl.c: Likewise.
+       * math/w_jnl.c: Likewise.
+       * math/w_lgamma.c: Likewise.
+       * math/w_lgamma_r.c: Likewise.
+       * math/w_lgammaf.c: Likewise.
+       * math/w_lgammaf_r.c: Likewise.
+       * math/w_lgammal.c: Likewise.
+       * math/w_lgammal_r.c: Likewise.
+       * math/w_pow.c: Likewise.
+       * math/w_powf.c: Likewise.
+       * math/w_powl.c: Likewise.
+       * math/w_remainder.c: Likewise.
+       * math/w_remainderf.c: Likewise.
+       * math/w_remainderl.c: Likewise.
+       * math/w_scalb.c: Likewise.
+       * math/w_scalbf.c: Likewise.
+       * math/w_scalbl.c: Likewise.
+       * math/w_scalbln.c: Likewise.
+       * math/w_scalblnf.c: Likewise.
+       * math/w_scalblnl.c: Likewise.
+       * math/w_sinh.c: Likewise.
+       * math/w_sinhf.c: Likewise.
+       * math/w_sinhl.c: Likewise.
+       * math/w_tgamma.c: Likewise.
+       * math/w_tgammaf.c: Likewise.
+       * math/w_tgammal.c: Likewise.
+       * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
+       * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
+       * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
+       * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
+       * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
+       * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
+       * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
+       * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
+       * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
+       * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
+       * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
+       * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
+       * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
+       * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
+       * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
+       * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
+       * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
+       * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
+       * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
+       * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
+       * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
+       * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
+       * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
+       * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
+       * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
+       * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
+       * stdio-common/printf_fp.c: Likewise.
+       * stdio-common/printf_fphex.c: Likewise.
+       * stdio-common/printf_size.c: Likewise.
+
 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
 
        [BZ #18470]
index d3205d1bbf5ed56e8da15e3e6b44195c77583330..ba79906ed39d674637ab03eadd324e927a5fccfd 100644 (file)
@@ -23,7 +23,7 @@
 double
 __ieee754_exp10 (double arg)
 {
-  if (__finite (arg) && arg < DBL_MIN_10_EXP - DBL_DIG - 10)
+  if (isfinite (arg) && arg < DBL_MIN_10_EXP - DBL_DIG - 10)
     return DBL_MIN * DBL_MIN;
   else
     /* This is a very stupid and inprecise implementation.  It'll get
index 94254577495a824c809a35d93096b9fde6ada2ab..d17366c6815b723070a3155c4af1976d6bf2931c 100644 (file)
@@ -23,7 +23,7 @@
 long double
 __ieee754_exp10l (long double arg)
 {
-  if (__finitel (arg) && arg < LDBL_MIN_10_EXP - LDBL_DIG - 10)
+  if (isfinite (arg) && arg < LDBL_MIN_10_EXP - LDBL_DIG - 10)
     return LDBL_MIN * LDBL_MIN;
   else
     /* This is a very stupid and inprecise implementation.  It'll get
index 9eb7bafaddf7e28d6ab3b1daedd809c95cc013d0..8db34ada536595cca3570ec1ef694c816e931bd7 100644 (file)
@@ -45,7 +45,7 @@ __ieee754_exp2l (long double x)
       else
        {
          /* Underflow or exact zero.  */
-         if (__isinfl (x))
+         if (isinf (x))
            return 0;
          else
            return LDBL_MIN * LDBL_MIN;
index 3bafde4f1a22e851a868b92a0156ea230b2eb508..f3dac6f45d4affa5a21aa4bdb22098801dec5306 100644 (file)
@@ -40,11 +40,11 @@ invalid_fn (double x, double fn)
 double
 __ieee754_scalb (double x, double fn)
 {
-  if (__glibc_unlikely (__isnan (x)))
+  if (__glibc_unlikely (isnan (x)))
     return x * fn;
-  if (__glibc_unlikely (!__finite (fn)))
+  if (__glibc_unlikely (!isfinite (fn)))
     {
-      if (__isnan (fn) || fn > 0.0)
+      if (isnan (fn) || fn > 0.0)
        return x * fn;
       if (x == 0.0)
        return x;
index 81321e0c90bccb217a5c6cf40b6435732a5fc47b..08e1979a2a8a58eb493a513c076c44c23eb669b2 100644 (file)
@@ -40,11 +40,11 @@ invalid_fn (float x, float fn)
 float
 __ieee754_scalbf (float x, float fn)
 {
-  if (__glibc_unlikely (__isnanf (x)))
+  if (__glibc_unlikely (isnan (x)))
     return x * fn;
-  if (__glibc_unlikely (!__finitef (fn)))
+  if (__glibc_unlikely (!isfinite (fn)))
     {
-      if (__isnanf (fn) || fn > 0.0f)
+      if (isnan (fn) || fn > 0.0f)
        return x * fn;
       if (x == 0.0f)
        return x;
index 41c525d6337ac76986bae059fca0e4b3446dd144..695a865c28eacc7b3d5cd11b8e8a565a6f2a7c7f 100644 (file)
@@ -40,11 +40,11 @@ invalid_fn (long double x, long double fn)
 long double
 __ieee754_scalbl (long double x, long double fn)
 {
-  if (__glibc_unlikely (__isnanl (x)))
+  if (__glibc_unlikely (isnan (x)))
     return x * fn;
-  if (__glibc_unlikely (!__finitel (fn)))
+  if (__glibc_unlikely (!isfinite (fn)))
     {
-      if (__isnanl (fn) || fn > 0.0L)
+      if (isnan (fn) || fn > 0.0L)
        return x * fn;
       if (x == 0.0L)
        return x;
index aa68b017f263a20ca9f8acf831177710797f91f8..d2f9907790911ab7422d37de73fae7ffe2fb8d16 100644 (file)
@@ -20,9 +20,9 @@ static char rcsid[] = "$NetBSD: s_ldexp.c,v 1.6 1995/05/10 20:47:40 jtc Exp $";
 
 double __ldexp(double value, int exp)
 {
-       if(!__finite(value)||value==0.0) return value;
+       if(!isfinite(value)||value==0.0) return value;
        value = __scalbn(value,exp);
-       if(!__finite(value)||value==0.0) __set_errno (ERANGE);
+       if(!isfinite(value)||value==0.0) __set_errno (ERANGE);
        return value;
 }
 weak_alias (__ldexp, ldexp)
index bd946776e285d1ed7cc1ae498ac1fc2d3f3db211..24054ffa710861a542886ba7a66bd5e0d2f2a634 100644 (file)
@@ -23,9 +23,9 @@ static char rcsid[] = "$NetBSD: s_ldexpf.c,v 1.3 1995/05/10 20:47:42 jtc Exp $";
 
 float __ldexpf(float value, int exp)
 {
-       if(!__finitef(value)||value==(float)0.0) return value;
+       if(!isfinite(value)||value==(float)0.0) return value;
        value = __scalbnf(value,exp);
-       if(!__finitef(value)||value==(float)0.0) __set_errno (ERANGE);
+       if(!isfinite(value)||value==(float)0.0) __set_errno (ERANGE);
        return value;
 }
 weak_alias (__ldexpf, ldexpf)
index 1bcc7680b40ed3502424bec55b2d52b43c352fd3..7c7809f272749942bc7bf686f8e876496c69222b 100644 (file)
@@ -24,9 +24,9 @@ static char rcsid[] = "$NetBSD: $";
 
 long double __ldexpl(long double value, int exp)
 {
-       if(!__finitel(value)||value==0.0) return value;
+       if(!isfinite(value)||value==0.0) return value;
        value = __scalbnl(value,exp);
-       if(!__finitel(value)||value==0.0) __set_errno (ERANGE);
+       if(!isfinite(value)||value==0.0) __set_errno (ERANGE);
        return value;
 }
 weak_alias (__ldexpl, ldexpl)
index 0cb69ac8914190bfc4cff42570dc71640f62d844..ea60ffcca4d87efdf627d24516ff994ffd18c8b2 100644 (file)
@@ -34,7 +34,7 @@ __atan2 (double y, double x)
     return __kernel_standard (y, x, 3); /* atan2(+-0,+-0) */
 
   z = __ieee754_atan2 (y, x);
-  if (__glibc_unlikely (z == 0.0 && y != 0.0 && __finite (x)))
+  if (__glibc_unlikely (z == 0.0 && y != 0.0 && isfinite (x)))
     __set_errno (ERANGE);
   return z;
 }
index c83088dfb9ff6354820be4ab92b4bb8551984638..eb7d96837760726eb3fd91313b3775e88f30c1d7 100644 (file)
@@ -34,7 +34,7 @@ __atan2f (float y, float x)
     return __kernel_standard_f (y, x, 103); /* atan2(+-0,+-0) */
 
   z = __ieee754_atan2f (y, x);
-  if (__glibc_unlikely (z == 0.0f && y != 0.0f && __finitef (x)))
+  if (__glibc_unlikely (z == 0.0f && y != 0.0f && isfinite (x)))
     __set_errno (ERANGE);
   return z;
 }
index 96b23216216b4a4ad6a47055686df68b1b07e8f2..3048f97b0b4200ad25cd1bec3e94bfb4eb44db53 100644 (file)
@@ -34,7 +34,7 @@ __atan2l (long double y, long double x)
     return __kernel_standard_l (y, x, 203); /* atan2(+-0,+-0) */
 
   z = __ieee754_atan2l (y, x);
-  if (__glibc_unlikely (z == 0.0L && y != 0.0L && __finitel (x)))
+  if (__glibc_unlikely (z == 0.0L && y != 0.0L && isfinite (x)))
     __set_errno (ERANGE);
   return z;
 }
index 57010781bf72d4a039dcf6e5556e31cb8cde7e70..0771434ec1df4ae3b118b77fcb858a100958e3c3 100644 (file)
@@ -21,7 +21,7 @@ double
 __cosh (double x)
 {
        double z = __ieee754_cosh (x);
-       if (__builtin_expect (!__finite (z), 0) && __finite (x)
+       if (__builtin_expect (!isfinite (z), 0) && isfinite (x)
            && _LIB_VERSION != _IEEE_)
                return __kernel_standard (x, x, 5); /* cosh overflow */
 
index df1f681205e0896325ffbd11937db29b242a76e2..dc7fb53ba30d0ed21db07fbe35ebfb770d997232 100644 (file)
@@ -25,7 +25,7 @@ float
 __coshf (float x)
 {
        float z = __ieee754_coshf (x);
-       if (__builtin_expect (!__finitef (z), 0) && __finitef (x)
+       if (__builtin_expect (!isfinite (z), 0) && isfinite (x)
            && _LIB_VERSION != _IEEE_)
                return __kernel_standard_f (x, x, 105); /* cosh overflow */
 
index 9c638e91e0345684e882bf6280751a062dedf967..27f0a4f4c30463fc3f5cd748def6ab75a9349710 100644 (file)
@@ -26,7 +26,7 @@ long double
 __coshl (long double x)
 {
        long double z = __ieee754_coshl (x);
-       if (__builtin_expect (!__finitel (z), 0) && __finitel (x)
+       if (__builtin_expect (!isfinite (z), 0) && isfinite (x)
            && _LIB_VERSION != _IEEE_)
                return __kernel_standard_l (x, x, 205); /* cosh overflow */
 
index 66eec80fe16b7be3635ef631bf8496016499d8af..c994a23af0b90b2169294f60d54c1bdd116422d9 100644 (file)
@@ -28,10 +28,10 @@ double
 __exp10 (double x)
 {
   double z = __ieee754_exp10 (x);
-  if (__builtin_expect (!__finite (z) || z == 0, 0)
-      && __finite (x) && _LIB_VERSION != _IEEE_)
+  if (__builtin_expect (!isfinite (z) || z == 0, 0)
+      && isfinite (x) && _LIB_VERSION != _IEEE_)
     /* exp10 overflow (46) if x > 0, underflow (47) if x < 0.  */
-    return __kernel_standard (x, x, 46 + !!__signbit (x));
+    return __kernel_standard (x, x, 46 + !!signbit (x));
 
   return z;
 }
index 784bae4291c6a0d2d35c6b23dc31bc0c85a2e88b..4ab5bc38492f399bec5f764ba82c0ba1cde200b4 100644 (file)
@@ -28,10 +28,10 @@ float
 __exp10f (float x)
 {
   float z = __ieee754_exp10f (x);
-  if (__builtin_expect (!__finitef (z) || z == 0, 0)
-      && __finitef (x) && _LIB_VERSION != _IEEE_)
+  if (__builtin_expect (!isfinite (z) || z == 0, 0)
+      && isfinite (x) && _LIB_VERSION != _IEEE_)
     /* exp10f overflow (146) if x > 0, underflow (147) if x < 0.  */
-    return __kernel_standard_f (x, x, 146 + !!__signbitf (x));
+    return __kernel_standard_f (x, x, 146 + !!signbit (x));
 
   return z;
 }
index 21226aa5436ec05a7e25a4957dbf11cd36134e28..984c663303e672a6df32b26e919fa6e3c4084227 100644 (file)
@@ -28,10 +28,10 @@ long double
 __exp10l (long double x)
 {
   long double z = __ieee754_exp10l (x);
-  if (__builtin_expect (!__finitel (z) || z == 0, 0)
-      && __finitel (x) && _LIB_VERSION != _IEEE_)
+  if (__builtin_expect (!isfinite (z) || z == 0, 0)
+      && isfinite (x) && _LIB_VERSION != _IEEE_)
     /* exp10l overflow (246) if x > 0, underflow (247) if x < 0.  */
-    return __kernel_standard_l (x, x, 246 + !!__signbitl (x));
+    return __kernel_standard_l (x, x, 246 + !!signbit (x));
 
   return z;
 }
index 02820be37327961e2896f0334c4b40f3123c3866..ca17f9ea630b1f089764fe17a0c6385b776bbf1f 100644 (file)
@@ -9,10 +9,10 @@ double
 __exp2 (double x)
 {
   double z = __ieee754_exp2 (x);
-  if (__builtin_expect (!__finite (z) || z == 0, 0)
-      && __finite (x) && _LIB_VERSION != _IEEE_)
+  if (__builtin_expect (!isfinite (z) || z == 0, 0)
+      && isfinite (x) && _LIB_VERSION != _IEEE_)
     /* exp2 overflow: 44, exp2 underflow: 45 */
-    return __kernel_standard (x, x, 44 + !!__signbit (x));
+    return __kernel_standard (x, x, 44 + !!signbit (x));
 
   return z;
 }
index 8430fd5702f2d4a46944138b36611079a0d1dff3..61cbd6cda1c5bbbe5ea48687ae3df55d9859cd30 100644 (file)
@@ -9,10 +9,10 @@ float
 __exp2f (float x)
 {
   float z = __ieee754_exp2f (x);
-  if (__builtin_expect (!__finitef (z) || z == 0, 0)
-      && __finitef (x) && _LIB_VERSION != _IEEE_)
+  if (__builtin_expect (!isfinite (z) || z == 0, 0)
+      && isfinite (x) && _LIB_VERSION != _IEEE_)
     /* exp2 overflow: 144, exp2 underflow: 145 */
-    return __kernel_standard_f (x, x, 144 + !!__signbitf (x));
+    return __kernel_standard_f (x, x, 144 + !!signbit (x));
 
   return z;
 }
index 33861d584a0ccb58b81b923d5d139734fb96c389..47aed3cb830f325e4241892285225465809b8267 100644 (file)
@@ -9,10 +9,10 @@ long double
 __exp2l (long double x)
 {
   long double z = __ieee754_exp2l (x);
-  if (__builtin_expect (!__finitel (z) || z == 0, 0)
-      && __finitel (x) && _LIB_VERSION != _IEEE_)
+  if (__builtin_expect (!isfinite (z) || z == 0, 0)
+      && isfinite (x) && _LIB_VERSION != _IEEE_)
     /* exp2 overflow: 244, exp2 underflow: 245 */
-    return __kernel_standard_l (x, x, 244 + !!__signbitl (x));
+    return __kernel_standard_l (x, x, 244 + !!signbit (x));
 
   return z;
 }
index d4b6a94c517ecec3149389d200c04117d743ac75..0ee5ee411c9da8d4bd8f030b5784bea4c33af690 100644 (file)
@@ -24,7 +24,7 @@ double
 __fmod (double x, double y)
 {
   if (__builtin_expect (__isinf_ns (x) || y == 0.0, 0)
-      && _LIB_VERSION != _IEEE_ && !__isnan (y) && !__isnan (x))
+      && _LIB_VERSION != _IEEE_ && !isnan (y) && !isnan (x))
     /* fmod(+-Inf,y) or fmod(x,0) */
     return __kernel_standard (x, y, 27);
 
index de1109d561ab2f06eb456f99cd264b59ffd0dbc6..ba9b8470f9cdc007ee209f2da6939a788567dcf6 100644 (file)
@@ -24,7 +24,7 @@ float
 __fmodf (float x, float y)
 {
   if (__builtin_expect (__isinf_nsf (x) || y == 0.0f, 0)
-      && _LIB_VERSION != _IEEE_ && !__isnanf (y) && !__isnanf (x))
+      && _LIB_VERSION != _IEEE_ && !isnan (y) && !isnan (x))
     /* fmod(+-Inf,y) or fmod(x,0) */
     return __kernel_standard_f (x, y, 127);
 
index 969cb8a84d9e6be22efcffeffafdb3ecc8464572..a64af8efab031632c5f52120c6a6c942cc335586 100644 (file)
@@ -24,7 +24,7 @@ long double
 __fmodl (long double x, long double y)
 {
   if (__builtin_expect (__isinf_nsl (x) || y == 0.0L, 0)
-      && _LIB_VERSION != _IEEE_ && !__isnanl (y) && !__isnanl (x))
+      && _LIB_VERSION != _IEEE_ && !isnan (y) && !isnan (x))
     /* fmod(+-Inf,y) or fmod(x,0) */
     return __kernel_standard_l (x, y, 227);
 
index 2c6de2860070a4ca91ccdc23baeee4b494930b6d..7c662c8e40e1f3aa22a0e7c226bcefbc0a78a776 100644 (file)
@@ -22,8 +22,8 @@ double
 __hypot (double x, double y)
 {
        double z = __ieee754_hypot(x,y);
-       if(__builtin_expect(!__finite(z), 0)
-          && __finite(x) && __finite(y) && _LIB_VERSION != _IEEE_)
+       if(__builtin_expect(!isfinite(z), 0)
+          && isfinite(x) && isfinite(y) && _LIB_VERSION != _IEEE_)
            return __kernel_standard(x, y, 4); /* hypot overflow */
 
        return z;
index 6042b8802d3d406dd55d7a6eecd41bbd4c83c2c4..0ecacae71526aaba5a6f4613039ff2a1d70d9254 100644 (file)
@@ -25,8 +25,8 @@ float
 __hypotf(float x, float y)
 {
        float z = __ieee754_hypotf(x,y);
-       if(__builtin_expect(!__finitef(z), 0)
-          && __finitef(x) && __finitef(y) && _LIB_VERSION != _IEEE_)
+       if(__builtin_expect(!isfinite(z), 0)
+          && isfinite(x) && isfinite(y) && _LIB_VERSION != _IEEE_)
            /* hypot overflow */
            return __kernel_standard_f(x, y, 104);
 
index 2e942cae308a1e38f07e532e08d864df8fceae45..c784fa2c64214aabeb41e78807d4d7c33b88a637 100644 (file)
@@ -27,8 +27,8 @@ __hypotl(long double x, long double y)
 {
        long double z;
        z = __ieee754_hypotl(x,y);
-       if(__builtin_expect(!__finitel(z), 0)
-          && __finitel(x) && __finitel(y) && _LIB_VERSION != _IEEE_)
+       if(__builtin_expect(!isfinite(z), 0)
+          && isfinite(x) && isfinite(y) && _LIB_VERSION != _IEEE_)
            return __kernel_standard_l(x, y, 204); /* hypot overflow */
 
        return z;
index 0263147b2fa2f1d7662bed5e6d32f9643b0663cd..d17b047956507c5a343b39ff71a5752b6c733ebd 100644 (file)
@@ -56,7 +56,7 @@ long double __jnl(int n, long double x)       /* wrapper jnl */
        z = __ieee754_jnl(n,x);
        if (_LIB_VERSION == _IEEE_
            || _LIB_VERSION == _POSIX_
-           || __isnanl(x))
+           || isnan(x))
          return z;
        if(fabsl(x)>X_TLOSS) {
            return __kernel_standard_l((double)n,x,238); /* jn(|x|>X_TLOSS,n) */
@@ -73,7 +73,7 @@ long double __ynl(int n, long double x)       /* wrapper ynl */
 #else
        long double z;
        z = __ieee754_ynl(n,x);
-       if(_LIB_VERSION == _IEEE_ || __isnanl(x) ) return z;
+       if(_LIB_VERSION == _IEEE_ || isnan(x) ) return z;
         if(x <= 0.0){
                 if(x==0.0)
                     /* d= -one/(x-x); */
index 17c546059d6c8e79a88fc99a14a2ac76236929ad..a82b5e397c0cd295cd142429e334015535bd1556 100644 (file)
@@ -29,8 +29,8 @@ __lgamma(double x)
                                         global variable.  */
                                      ? &signgam
                                      : &local_signgam);
-       if(__builtin_expect(!__finite(y), 0)
-          && __finite(x) && _LIB_VERSION != _IEEE_)
+       if(__builtin_expect(!isfinite(y), 0)
+          && isfinite(x) && _LIB_VERSION != _IEEE_)
                return __kernel_standard(x, x,
                                         __floor(x)==x&&x<=0.0
                                         ? 15 /* lgamma pole */
index 9d00f58ab786cb14a4c3aa4536676ef0678fbb48..6578b2c76cbecbe067d987db0d9789b49ae1371b 100644 (file)
@@ -22,8 +22,8 @@ double
 __lgamma_r(double x, int *signgamp)
 {
        double y = __ieee754_lgamma_r(x,signgamp);
-       if(__builtin_expect(!__finite(y), 0)
-          && __finite(x) && _LIB_VERSION != _IEEE_)
+       if(__builtin_expect(!isfinite(y), 0)
+          && isfinite(x) && _LIB_VERSION != _IEEE_)
                return __kernel_standard(x, x,
                                         __floor(x)==x&&x<=0.0
                                         ? 15 /* lgamma pole */
index f3166dfd33514115747fd552b523944abc803d38..dac69dd32a3c642f059d76696b7d1d318b23458f 100644 (file)
@@ -26,8 +26,8 @@ __lgammaf(float x)
                                         global variable.  */
                                      ? &signgam
                                      : &local_signgam);
-       if(__builtin_expect(!__finitef(y), 0)
-          && __finitef(x) && _LIB_VERSION != _IEEE_)
+       if(__builtin_expect(!isfinite(y), 0)
+          && isfinite(x) && _LIB_VERSION != _IEEE_)
                return __kernel_standard_f(x, x,
                                           __floorf(x)==x&&x<=0.0f
                                           ? 115 /* lgamma pole */
index 683fe72dc67f77e6f710d9934c36eefb3ec5e9a9..d7d2cb8bc1e4f028580328b0fa67462e9cf1d211 100644 (file)
@@ -25,8 +25,8 @@ float
 __lgammaf_r(float x, int *signgamp)
 {
        float y = __ieee754_lgammaf_r(x,signgamp);
-       if(__builtin_expect(!__finitef(y), 0)
-          && __finitef(x) && _LIB_VERSION != _IEEE_)
+       if(__builtin_expect(!isfinite(y), 0)
+          && isfinite(x) && _LIB_VERSION != _IEEE_)
                return __kernel_standard_f(x, x,
                                           __floorf(x)==x&&x<=0.0f
                                           ? 115 /* lgamma pole */
index 1dc7e586223308aea96453eb035ec170ac11732a..8abe6a018fe2a7c8f7ac585ca34b6428c54380c2 100644 (file)
@@ -33,8 +33,8 @@ __lgammal(long double x)
                                               global variable.  */
                                            ? &signgam
                                            : &local_signgam);
-       if(__builtin_expect(!__finitel(y), 0)
-          && __finitel(x) && _LIB_VERSION != _IEEE_)
+       if(__builtin_expect(!isfinite(y), 0)
+          && isfinite(x) && _LIB_VERSION != _IEEE_)
                return __kernel_standard_l(x, x,
                                           __floorl(x)==x&&x<=0.0L
                                           ? 215 /* lgamma pole */
index ec3428486af8e3c5f13c6dee66f7a1972f5a9233..7caeb1264f4395cf84189ec30ba61739f36dd49b 100644 (file)
@@ -26,8 +26,8 @@ long double
 __lgammal_r(long double x, int *signgamp)
 {
        long double y = __ieee754_lgammal_r(x,signgamp);
-       if(__builtin_expect(!__finitel(y), 0)
-          && __finitel(x) && _LIB_VERSION != _IEEE_)
+       if(__builtin_expect(!isfinite(y), 0)
+          && isfinite(x) && _LIB_VERSION != _IEEE_)
                return __kernel_standard(x, x,
                                         __floorl(x)==x&&x<=0.0
                                         ? 215 /* lgamma pole */
index a13b4b84678288b764c9afd2e7f2cad6ab644b7a..33a45ac6110027a09e8fa7aa58308a71ce036b64 100644 (file)
@@ -25,19 +25,19 @@ double
 __pow (double x, double y)
 {
   double z = __ieee754_pow (x, y);
-  if (__glibc_unlikely (!__finite (z)))
+  if (__glibc_unlikely (!isfinite (z)))
     {
       if (_LIB_VERSION != _IEEE_)
        {
-         if (__isnan (x))
+         if (isnan (x))
            {
              if (y == 0.0)
                /* pow(NaN,0.0) */
                return __kernel_standard (x, y, 42);
            }
-         else if (__finite (x) && __finite (y))
+         else if (isfinite (x) && isfinite (y))
            {
-             if (__isnan (z))
+             if (isnan (z))
                /* pow neg**non-int */
                return __kernel_standard (x, y, 24);
              else if (x == 0.0 && y < 0.0)
@@ -55,7 +55,7 @@ __pow (double x, double y)
            }
        }
     }
-  else if (__builtin_expect (z == 0.0, 0) && __finite (x) && __finite (y)
+  else if (__builtin_expect (z == 0.0, 0) && isfinite (x) && isfinite (y)
           && _LIB_VERSION != _IEEE_)
     {
       if (x == 0.0)
index 10abb9f1e7dccb3821ef0169670e13d2e4e5e61e..1fd7412c1e1fc5b7b5c7df9f1414f335694ef33a 100644 (file)
@@ -25,19 +25,19 @@ float
 __powf (float x, float y)
 {
   float z = __ieee754_powf (x, y);
-  if (__glibc_unlikely (!__finitef (z)))
+  if (__glibc_unlikely (!isfinite (z)))
     {
       if (_LIB_VERSION != _IEEE_)
        {
-         if (__isnanf (x))
+         if (isnan (x))
            {
              if (y == 0.0f)
                /* pow(NaN,0.0) */
                return __kernel_standard_f (x, y, 142);
            }
-         else if (__finitef (x) && __finitef (y))
+         else if (isfinite (x) && isfinite (y))
            {
-             if (__isnanf (z))
+             if (isnan (z))
                /* pow neg**non-int */
                return __kernel_standard_f (x, y, 124);
              else if (x == 0.0f && y < 0.0f)
@@ -55,7 +55,7 @@ __powf (float x, float y)
            }
        }
     }
-  else if (__builtin_expect (z == 0.0f, 0) && __finitef (x) && __finitef (y)
+  else if (__builtin_expect (z == 0.0f, 0) && isfinite (x) && isfinite (y)
           && _LIB_VERSION != _IEEE_)
     {
       if (x == 0.0f)
index 67bc4eb88b2df150281b5633a88a18f39e3f52ac..eef9f7529268ba5f1c35566ea50212e0ebbb80d0 100644 (file)
@@ -25,19 +25,19 @@ long double
 __powl (long double x, long double y)
 {
   long double z = __ieee754_powl (x, y);
-  if (__glibc_unlikely (!__finitel (z)))
+  if (__glibc_unlikely (!isfinite (z)))
     {
       if (_LIB_VERSION != _IEEE_)
        {
-         if (__isnanl (x))
+         if (isnan (x))
            {
              if (y == 0.0L)
                /* pow(NaN,0.0) */
                return __kernel_standard_l (x, y, 242);
            }
-         else if (__finitel (x) && __finitel (y))
+         else if (isfinite (x) && isfinite (y))
            {
-             if (__isnanl (z))
+             if (isnan (z))
                /* pow neg**non-int */
                return __kernel_standard_l (x, y, 224);
              else if (x == 0.0L && y < 0.0L)
@@ -55,7 +55,7 @@ __powl (long double x, long double y)
            }
        }
     }
-  else if (__builtin_expect (z == 0.0L, 0) && __finitel (x) && __finitel (y)
+  else if (__builtin_expect (z == 0.0L, 0) && isfinite (x) && isfinite (y)
           && _LIB_VERSION != _IEEE_)
     {
       if (x == 0.0L)
index 3ce4151488e6beebbbcce3a55b3619043f98878d..9be4dfd50b77366576d7d1d1d139c53b3055f4ac 100644 (file)
@@ -24,8 +24,8 @@
 double
 __remainder (double x, double y)
 {
-  if (((__builtin_expect (y == 0.0, 0) && ! __isnan (x))
-       || (__builtin_expect (__isinf_ns (x), 0) && ! __isnan (y)))
+  if (((__builtin_expect (y == 0.0, 0) && ! isnan (x))
+       || (__builtin_expect (__isinf_ns (x), 0) && ! isnan (y)))
       && _LIB_VERSION != _IEEE_)
     return __kernel_standard (x, y, 28); /* remainder domain */
 
index 9bd2e48db177c4b57b8b40885fecb3f2e5bd9090..b207d84824fef30f743305caa17775b663a05f15 100644 (file)
@@ -24,8 +24,8 @@
 float
 __remainderf (float x, float y)
 {
-  if (((__builtin_expect (y == 0.0f, 0) && ! __isnanf (x))
-       || (__builtin_expect (__isinf_nsf (x), 0) && ! __isnanf (y)))
+  if (((__builtin_expect (y == 0.0f, 0) && ! isnan (x))
+       || (__builtin_expect (__isinf_nsf (x), 0) && ! isnan (y)))
       && _LIB_VERSION != _IEEE_)
     return __kernel_standard_f (x, y, 128); /* remainder domain */
 
index 77b54b777853936f6a4cfe676d02b807e754f01f..78842af5298d88ef617724a75366409b685e89d8 100644 (file)
@@ -24,8 +24,8 @@
 long double
 __remainderl (long double x, long double y)
 {
-  if (((__builtin_expect (y == 0.0L, 0) && ! __isnanl (x))
-       || (__builtin_expect (__isinf_nsl (x), 0) && ! __isnanl (y)))
+  if (((__builtin_expect (y == 0.0L, 0) && ! isnan (x))
+       || (__builtin_expect (__isinf_nsl (x), 0) && ! isnan (y)))
       && _LIB_VERSION != _IEEE_)
     return __kernel_standard_l (x, y, 228); /* remainder domain */
 
index aabc195ea340771bc7f9d54d234ce3e0d2515ef8..09627f4d84b175bfbff5d13e6cfd0e287267ce37 100644 (file)
@@ -27,9 +27,9 @@ sysv_scalb (double x, double fn)
 {
   double z = __ieee754_scalb (x, fn);
 
-  if (__glibc_unlikely (__isinf (z)))
+  if (__glibc_unlikely (isinf (z)))
     {
-      if (__finite (x))
+      if (isfinite (x))
        return __kernel_standard (x, fn, 32); /* scalb overflow */
       else
        __set_errno (ERANGE);
@@ -51,11 +51,11 @@ __scalb (double x, double fn)
     {
       double z = __ieee754_scalb (x, fn);
 
-      if (__glibc_unlikely (!__finite (z) || z == 0.0))
+      if (__glibc_unlikely (!isfinite (z) || z == 0.0))
        {
-         if (__isnan (z))
+         if (isnan (z))
            {
-             if (!__isnan (x) && !__isnan (fn))
+             if (!isnan (x) && !isnan (fn))
                __set_errno (EDOM);
            }
          else if (__isinf_ns (z))
index ce37a40b6e56f2bd976d68a6022d4d708de93b74..e7b855b6d12f33c87f6c0d96ab6586105d412ec5 100644 (file)
@@ -27,9 +27,9 @@ sysv_scalbf (float x, float fn)
 {
   float z = __ieee754_scalbf (x, fn);
 
-  if (__glibc_unlikely (__isinff (z)))
+  if (__glibc_unlikely (isinf (z)))
     {
-      if (__finitef (x))
+      if (isfinite (x))
        return __kernel_standard_f (x, fn, 132); /* scalb overflow */
       else
        __set_errno (ERANGE);
@@ -51,11 +51,11 @@ __scalbf (float x, float fn)
     {
       float z = __ieee754_scalbf (x, fn);
 
-      if (__glibc_unlikely (!__finitef (z) || z == 0.0f))
+      if (__glibc_unlikely (!isfinite (z) || z == 0.0f))
        {
-         if (__isnanf (z))
+         if (isnan (z))
            {
-             if (!__isnanf (x) && !__isnanf (fn))
+             if (!isnan (x) && !isnan (fn))
                __set_errno (EDOM);
            }
          else if (__isinf_nsf (z))
index aa3c17a04a8ecfd04904d83f9e36e8d5aa120717..5e1e0172944715ca0484f4aa7a858b77723c1c50 100644 (file)
@@ -27,9 +27,9 @@ sysv_scalbl (long double x, long double fn)
 {
   long double z = __ieee754_scalbl (x, fn);
 
-  if (__glibc_unlikely (__isinfl (z)))
+  if (__glibc_unlikely (isinf (z)))
     {
-      if (__finitel (x))
+      if (isfinite (x))
        return __kernel_standard_l (x, fn, 232); /* scalb overflow */
       else
        __set_errno (ERANGE);
@@ -51,11 +51,11 @@ __scalbl (long double x, long double fn)
     {
       long double z = __ieee754_scalbl (x, fn);
 
-      if (__glibc_unlikely (!__finitel (z) || z == 0.0L))
+      if (__glibc_unlikely (!isfinite (z) || z == 0.0L))
        {
-         if (__isnanl (z))
+         if (isnan (z))
            {
-             if (!__isnanl (x) && !__isnanl (fn))
+             if (!isnan (x) && !isnan (fn))
                __set_errno (EDOM);
            }
          else if (__isinf_nsl (z))
index f7a7f3f0fab08605c38ad19039bc740dbbca9cf7..7f7675c16cfcdcd7f31a4468eecad05155265698 100644 (file)
 double
 __w_scalbln (double x, long int n)
 {
-  if (!__finite (x) || x == 0.0)
+  if (!isfinite (x) || x == 0.0)
     return x;
 
   x = __scalbln (x, n);
 
-  if (!__finite (x) || x == 0.0)
+  if (!isfinite (x) || x == 0.0)
     __set_errno (ERANGE);
 
   return x;
index cd0822ac34a76e661cbe3e0d3c6b1248a1d787f4..235518dfca6b0624a191828f98bb0ce0c7d13455 100644 (file)
 float
 __w_scalblnf (float x, long int n)
 {
-  if (!__finitef (x) || x == 0.0f)
+  if (!isfinite (x) || x == 0.0f)
     return x;
 
   x = __scalblnf (x, n);
 
-  if (!__finitef (x) || x == 0.0f)
+  if (!isfinite (x) || x == 0.0f)
     __set_errno (ERANGE);
 
   return x;
index dd23b4b5ae348e84a96baee1108a6b5bce8c4e7a..2c4980b31c5e161e099a3836a5256b94147106a1 100644 (file)
 long double
 __w_scalblnl (long double x, long int n)
 {
-  if (!__finitel (x) || x == 0.0L)
+  if (!isfinite (x) || x == 0.0L)
     return x;
 
   x = __scalblnl (x, n);
 
-  if (!__finitel (x) || x == 0.0L)
+  if (!isfinite (x) || x == 0.0L)
     __set_errno (ERANGE);
 
   return x;
index 34ad2d86243f679f5a343a36266baf724f319618..51daf2ff35b612f140fd4e0b53432c4f701f24a0 100644 (file)
@@ -21,7 +21,7 @@ double
 __sinh (double x)
 {
        double z = __ieee754_sinh (x);
-       if (__builtin_expect (!__finite (z), 0) && __finite (x)
+       if (__builtin_expect (!isfinite (z), 0) && isfinite (x)
            && _LIB_VERSION != _IEEE_)
                return __kernel_standard (x, x, 25); /* sinh overflow */
 
index 1347e917280a28b294e265d870542ae780f02934..0e530b1600165697919f46104d2b68639c9aa7b6 100644 (file)
@@ -24,7 +24,7 @@ float
 __sinhf (float x)
 {
        float z = __ieee754_sinhf (x);
-       if (__builtin_expect (!__finitef (z), 0) && __finitef (x)
+       if (__builtin_expect (!isfinite (z), 0) && isfinite (x)
            && _LIB_VERSION != _IEEE_)
            return __kernel_standard_f (x, x, 125); /* sinhf overflow */
 
index f801b4dd926473b538bba399ba0a77434883ba4b..7df7c0614fff7c0f8f7339b6905cb0446b047fa1 100644 (file)
@@ -25,7 +25,7 @@ long double
 __sinhl (long double x)
 {
        long double z = __ieee754_sinhl (x);
-       if (__builtin_expect (!__finitel (z), 0) && __finitel (x)
+       if (__builtin_expect (!isfinite (z), 0) && isfinite (x)
            && _LIB_VERSION != _IEEE_)
            return __kernel_standard_l (x, x, 225); /* sinh overflow */
 
index 504996e3c2fb77cc3f6d28aac54156c259836a39..1ca7765e2c38227c2eff2eee86196700db510877 100644 (file)
@@ -25,8 +25,8 @@ __tgamma(double x)
        int local_signgam;
        double y = __ieee754_gamma_r(x,&local_signgam);
 
-       if(__glibc_unlikely (!__finite (y) || y == 0)
-          && (__finite (x) || __isinf (x) < 0)
+       if(__glibc_unlikely (!isfinite (y) || y == 0)
+          && (isfinite (x) || isinf (x) < 0)
           && _LIB_VERSION != _IEEE_) {
          if (x == 0.0)
            return __kernel_standard(x,x,50); /* tgamma pole */
index fb15b6aa5cd7dedf660ed57476e49acc212ec1bd..9ed7660d738778a04846477889bbe920635d13b0 100644 (file)
@@ -23,8 +23,8 @@ __tgammaf(float x)
        int local_signgam;
        float y = __ieee754_gammaf_r(x,&local_signgam);
 
-       if(__glibc_unlikely (!__finitef (y) || y == 0)
-          && (__finitef (x) || __isinff (x) < 0)
+       if(__glibc_unlikely (!isfinite (y) || y == 0)
+          && (isfinite (x) || isinf (x) < 0)
           && _LIB_VERSION != _IEEE_) {
          if (x == (float)0.0)
            /* tgammaf pole */
index 4e2d66ae8405e22b18ad27e460b007c13bc14c99..b3a9e4a01587f56000a709e12ae8a1375b9e5a1d 100644 (file)
@@ -28,8 +28,8 @@ __tgammal(long double x)
        int local_signgam;
        long double y = __ieee754_gammal_r(x,&local_signgam);
 
-       if(__glibc_unlikely (!__finitel (y) || y == 0)
-          && (__finitel (x) || __isinfl (x) < 0)
+       if(__glibc_unlikely (!isfinite (y) || y == 0)
+          && (isfinite (x) || isinf (x) < 0)
           && _LIB_VERSION != _IEEE_) {
          if(x==0.0)
            return __kernel_standard_l(x,x,250); /* tgamma pole */
index 575842b7090d381b3427007cd725880f70ccb612..3023b201835be839ebf5774b32b591efa65668da 100644 (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;
index ba0639f7bf9cf1b72fc11fc717c7be474c26a2b8..6c3b5e97230f530a670387209a4c7fd5608ec48c 100644 (file)
@@ -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))
index 6ee753f6d43d9a7243a55def3a1f27f2b28a1ab7..7dcd58e0d8e36d4d849b70f886cbbfb619d5e5cd 100644 (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";
index 4eb1bdc657ed53f14abf4f6333732babe7d38e9b..bb76907f74a1347116e21019e01ed46fc660f640 100644 (file)
@@ -217,7 +217,7 @@ __ieee754_exp (double x)
          retval = res * binexp.x * t256.x;
        else
          retval = __slowexp (x);
-       if (__isinf (retval))
+       if (isinf (retval))
          goto ret_huge;
        else
          goto ret;
index 5cbf62640da9f18ae717061b0a4e503a249dc9d5..b14eaa9833b69fbf0e4f4a4347d891e7752a7cd2 100644 (file)
@@ -29,7 +29,7 @@ __ieee754_exp10 (double arg)
   double arg_high, arg_low;
   double exp_high, exp_low;
 
-  if (!__finite (arg))
+  if (!isfinite (arg))
     return __ieee754_exp (arg);
   if (arg < DBL_MIN_10_EXP - DBL_DIG - 10)
     return DBL_MIN * DBL_MIN;
index f964a5ae3840fed98bb3118c568e2942cf2bf391..948a756df773e48559a594b7e012b8c1ac2e15d6 100644 (file)
@@ -48,7 +48,7 @@ __ieee754_exp2 (double x)
       /* Exceptional cases:  */
       if (__glibc_unlikely (!isgreaterequal (x, lomark)))
        {
-         if (__isinf (x))
+         if (isinf (x))
            /* e^-inf == 0, with no error.  */
            return 0;
          else
index d61cff434af37fe7b7e6dcfe2cde223551147cf4..653f33abe10827520dd03bc2be0cf55c97aa50f2 100644 (file)
@@ -207,7 +207,7 @@ __ieee754_y1 (double x)
   if (__glibc_unlikely (ix <= 0x3c900000))              /* x < 2**-54 */
     {
       z = -tpi / x;
-      if (__isinf (z))
+      if (isinf (z))
        __set_errno (ERANGE);
       return z;
     }
index bbe04260b8d594f49b577906c224ef429c6ade94..900737c401d51c9b8594d1653a1273440834eaa1 100644 (file)
@@ -319,7 +319,7 @@ __ieee754_yn (int n, double x)
            a = temp;
          }
        /* If B is +-Inf, set up errno accordingly.  */
-       if (!__finite (b))
+       if (!isfinite (b))
          __set_errno (ERANGE);
       }
     if (sign > 0)
@@ -328,7 +328,7 @@ __ieee754_yn (int n, double x)
       ret = -b;
   }
  out:
-  if (__isinf (ret))
+  if (isinf (ret))
     ret = __copysign (DBL_MAX, ret) * DBL_MAX;
   return ret;
 }
index 8a1f72f1fa84ca3543d93d87bc4b49a962a59759..3c027fe7f5bc034406d11e7767a726a1216c8312 100644 (file)
@@ -115,7 +115,7 @@ __ieee754_pow (double x, double y)
        retval = (t > 0) ? t : power1 (x, y);
       }
 
-      if (__isinf (retval))
+      if (isinf (retval))
        retval = huge * huge;
       else if (retval == 0)
        retval = tiny * tiny;
@@ -180,7 +180,7 @@ __ieee754_pow (double x, double y)
            SET_RESTORE_ROUND (FE_TONEAREST);
            retval = -__ieee754_pow (-x, y);
          }
-         if (__isinf (retval))
+         if (isinf (retval))
            retval = -huge * huge;
          else if (retval == 0)
            retval = -tiny * tiny;
index cef5b77170b2d5a020ced37293d8199654477928..61b2dbbd0f45c99442b38fa7bf534f46bcea1812 100644 (file)
@@ -24,9 +24,9 @@ double
 __exp (double x)
 {
   double z = __ieee754_exp (x);
-  if (__builtin_expect (!__finite (z) || z == 0, 0)
-      && __finite (x) && _LIB_VERSION != _IEEE_)
-    return __kernel_standard (x, x, 6 + !!__signbit (x));
+  if (__builtin_expect (!isfinite (z) || z == 0, 0)
+      && isfinite (x) && _LIB_VERSION != _IEEE_)
+    return __kernel_standard (x, x, 6 + !!signbit (x));
 
   return z;
 }
index 96704ab65b2103c47d741ff911e749a28aa0667f..abf9111a746d23e11c1d930d06f2faa033feff0c 100644 (file)
@@ -119,7 +119,7 @@ __ieee754_expf (float x)
   /* Exceptional cases:  */
   else if (isless (x, himark))
     {
-      if (__isinff (x))
+      if (isinf (x))
        /* e^-inf == 0, with no error.  */
        return 0;
       else
index a67da3275d399537359d6faf90bd37abf048441b..7ffb57e8068f73fc32cb65787dfbc61adf0e9a8c 100644 (file)
@@ -137,7 +137,7 @@ __ieee754_y1f(float x)
        }
        if(__builtin_expect(ix<=0x33000000, 0)) {    /* x < 2**-25 */
            z = -tpi / x;
-           if (__isinff (z))
+           if (isinf (z))
                __set_errno (ERANGE);
            return z;
        }
index 86085cc635f700af77024d3418da73864f8f852f..dc4b371bc1b961b8b4afa9f01b0dff3596e6e04a 100644 (file)
@@ -208,12 +208,12 @@ __ieee754_ynf(int n, float x)
            a = temp;
        }
        /* If B is +-Inf, set up errno accordingly.  */
-       if (! __finitef (b))
+       if (! isfinite (b))
          __set_errno (ERANGE);
        if(sign>0) ret = b; else ret = -b;
     }
  out:
-    if (__isinff (ret))
+    if (isinf (ret))
        ret = __copysignf (FLT_MAX, ret) * FLT_MAX;
     return ret;
 }
index 01fbac91bb42d143ec878b1e28fed971e7546ce9..cc5ff76421b080e1ff898b517854ab41b57b8176 100644 (file)
@@ -24,9 +24,9 @@ float
 __expf (float x)
 {
   float z = __ieee754_expf (x);
-  if (__builtin_expect (!__finitef (z) || z == 0, 0)
-      && __finitef (x) && _LIB_VERSION != _IEEE_)
-    return __kernel_standard_f (x, x, 106 + !!__signbitf (x));
+  if (__builtin_expect (!isfinite (z) || z == 0, 0)
+      && isfinite (x) && _LIB_VERSION != _IEEE_)
+    return __kernel_standard_f (x, x, 106 + !!signbit (x));
 
   return z;
 }
index d3120ad8418b8d7e727859492aa279a1c991322f..c5b5cb75058bac2c6e57b61a9ad118ae5b69b2c8 100644 (file)
@@ -29,7 +29,7 @@ __ieee754_exp10l (long double arg)
   long double arg_high, arg_low;
   long double exp_high, exp_low;
 
-  if (!__finitel (arg))
+  if (!isfinite (arg))
     return __ieee754_expl (arg);
   if (arg < LDBL_MIN_10_EXP - LDBL_DIG - 10)
     return LDBL_MIN * LDBL_MIN;
index 315666ce5fcce01ee404fbaf6f533f64d502a920..b4b789658a81811e087ad0c4d39c7949625df226 100644 (file)
@@ -235,7 +235,7 @@ __ieee754_expl (long double x)
   /* Exceptional cases:  */
   else if (isless (x, himark))
     {
-      if (__isinfl (x))
+      if (isinf (x))
        /* e^-inf == 0, with no error.  */
        return 0;
       else
index 108eff443500c817c29a60074cb0cba9066a5b30..1320de7044d701142f5d1e99bdfb787bccf10f96 100644 (file)
@@ -680,7 +680,7 @@ __ieee754_j0l (long double x)
 {
   long double xx, xinv, z, p, q, c, s, cc, ss;
 
-  if (! __finitel (x))
+  if (! isfinite (x))
     {
       if (x != x)
        return x;
@@ -826,7 +826,7 @@ long double
 {
   long double xx, xinv, z, p, q, c, s, cc, ss;
 
-  if (! __finitel (x))
+  if (! isfinite (x))
     {
       if (x != x)
        return x;
index f24dfa9f8badf020fd10cae5a90962f10884c98b..958077d92773c3debd1bd979fc4c0545e74b5ef9 100644 (file)
@@ -687,7 +687,7 @@ __ieee754_j1l (long double x)
 {
   long double xx, xinv, z, p, q, c, s, cc, ss;
 
-  if (! __finitel (x))
+  if (! isfinite (x))
     {
       if (x != x)
        return x;
@@ -838,7 +838,7 @@ __ieee754_y1l (long double x)
 {
   long double xx, xinv, z, p, q, c, s, cc, ss;
 
-  if (! __finitel (x))
+  if (! isfinite (x))
     {
       if (x != x)
        return x;
@@ -855,7 +855,7 @@ __ieee754_y1l (long double x)
   if (xx <= 0x1p-114)
     {
       z = -TWOOPI / x;
-      if (__isinfl (z))
+      if (isinf (z))
        __set_errno (ERANGE);
       return z;
     }
index 4e32d38581ff1db89816439752e79a729c0a27c9..422623f0dc14d5f16b3557953918a2f94073a6e8 100644 (file)
@@ -393,7 +393,7 @@ __ieee754_ynl (int n, long double x)
          }
       }
     /* If B is +-Inf, set up errno accordingly.  */
-    if (! __finitel (b))
+    if (! isfinite (b))
       __set_errno (ERANGE);
     if (sign > 0)
       ret = b;
@@ -401,7 +401,7 @@ __ieee754_ynl (int n, long double x)
       ret = -b;
   }
  out:
-  if (__isinfl (ret))
+  if (isinf (ret))
     ret = __copysignl (LDBL_MAX, ret) * LDBL_MAX;
   return ret;
 }
index 35d4a663ff45a93ca7a2aa713af60fd6fd09476e..d8a5e5b9ec009a4de9b58cf6eaed7543dac45bbb 100644 (file)
@@ -770,12 +770,12 @@ __ieee754_lgammal_r (long double x, int *signgamp)
 
   *signgamp = 1;
 
-  if (! __finitel (x))
+  if (! isfinite (x))
     return x * x;
 
   if (x == 0.0L)
     {
-      if (__signbitl (x))
+      if (signbit (x))
        *signgamp = -1;
     }
 
index 07ed567e4d0c3592c17a69d5a21ee38563fce8cd..c3ae96830e8f23797557d483dd2775977efe530c 100644 (file)
@@ -69,7 +69,7 @@ __cbrtl (long double x)
   int e, rem, sign;
   long double z;
 
-  if (!__finitel (x))
+  if (!isfinite (x))
     return x + x;
 
   if (x == 0)
index f0b1f8e55f15810fe8309d9660d485e8cf4533f1..c32616e504cce255bd6a3dcff6740f7805eefe92 100644 (file)
@@ -31,9 +31,9 @@ long double __expl(long double x)     /* wrapper exp */
        return __ieee754_expl(x);
 #else
        long double z = __ieee754_expl (x);
-       if (__glibc_unlikely (!__finitel (z) || z == 0)
-           && __finitel (x) && _LIB_VERSION != _IEEE_)
-         return __kernel_standard_l (x, x, 206 + !!__signbitl (x));
+       if (__glibc_unlikely (!isfinite (z) || z == 0)
+           && isfinite (x) && _LIB_VERSION != _IEEE_)
+         return __kernel_standard_l (x, x, 206 + !!signbit (x));
 
        return z;
 #endif
index e5030f1b526c022f998b72a64f3ab42cdc12c099..5974ee13385c870b00f422b66af557c311f261b2 100644 (file)
@@ -153,7 +153,7 @@ __ieee754_acosl (long double x)
 {
   long double a, z, r, w, p, q, s, t, f2;
 
-  if (__glibc_unlikely (__isnanl (x)))
+  if (__glibc_unlikely (isnan (x)))
     return x + x;
   a = __builtin_fabsl (x);
   if (a == 1.0L)
index 5bc847ad26bfdad5f4a5b8156686bfd4936b40d9..57c3ac09c869c26e7e88d8ded4834fc11d0754c6 100644 (file)
@@ -135,7 +135,7 @@ __ieee754_asinl (long double x)
   long double a, t, w, p, q, c, r, s;
   int flag;
 
-  if (__glibc_unlikely (__isnanl (x)))
+  if (__glibc_unlikely (isnan (x)))
     return x + x;
   flag = 0;
   a = __builtin_fabsl (x);
index dca207c1f9baa62f14161ec88950c2cdf55362db..deefe7f54f2c595f7d13431b61509f6f726eace1 100644 (file)
@@ -29,7 +29,7 @@ __ieee754_exp10l (long double arg)
   long double arg_high, arg_low;
   long double exp_high, exp_low;
 
-  if (!__finitel (arg))
+  if (!isfinite (arg))
     return __ieee754_expl (arg);
   if (arg < LDBL_MIN_10_EXP - LDBL_DIG - 10)
     return LDBL_MIN * LDBL_MIN;
index 812aa89e44609173dbb274ce6d51d2109b1d2ce1..15ccc454e1e64535f58828d5e6326e4e8dbad80b 100644 (file)
@@ -233,7 +233,7 @@ __ieee754_expl (long double x)
   /* Exceptional cases:  */
   else if (isless (x, himark))
     {
-      if (__isinfl (x))
+      if (isinf (x))
        /* e^-inf == 0, with no error.  */
        return 0;
       else
index 589f1f822a42d49f50e52275fa9a0f2ccebe4e4d..d2b93183273fc3fa018053dd6c94a64320d8f130 100644 (file)
@@ -395,7 +395,7 @@ __ieee754_ynl (int n, long double x)
          }
       }
     /* If B is +-Inf, set up errno accordingly.  */
-    if (! __finitel (b))
+    if (! isfinite (b))
       __set_errno (ERANGE);
     if (sign > 0)
       ret = b;
@@ -403,7 +403,7 @@ __ieee754_ynl (int n, long double x)
       ret = -b;
   }
  out:
-  if (__isinfl (ret))
+  if (isinf (ret))
     ret = __copysignl (LDBL_MAX, ret) * LDBL_MAX;
   return ret;
 }
index 76b4b56510545b3108fee77944e9c79f1ff4f009..96bdccd9f85da53a7c7b6c23bcef7426a6e5d52d 100644 (file)
@@ -35,7 +35,7 @@ __ctanhl (__complex__ long double x)
 
   if (!isfinite (__real__ x) || !isfinite (__imag__ x))
     {
-      if (__isinfl (__real__ x))
+      if (isinf (__real__ x))
        {
          __real__ res = __copysignl (1.0L, __real__ x);
          __imag__ res = __copysignl (0.0L, __imag__ x);
@@ -50,7 +50,7 @@ __ctanhl (__complex__ long double x)
          __imag__ res = __nanl ("");
 
 #ifdef FE_INVALID
-         if (__isinfl (__imag__ x))
+         if (isinf (__imag__ x))
            feraiseexcept (FE_INVALID);
 #endif
        }
index e2fde7db4bb028a29de4f68f2c86c71233acdc68..fc44378e5c3511a0a2173280cfaf757a444152be 100644 (file)
@@ -35,7 +35,7 @@ __ctanl (__complex__ long double x)
 
   if (!isfinite (__real__ x) || !isfinite (__imag__ x))
     {
-      if (__isinfl (__imag__ x))
+      if (isinf (__imag__ x))
        {
          __real__ res = __copysignl (0.0, __real__ x);
          __imag__ res = __copysignl (1.0, __imag__ x);
index 70fe5f693e1ee29aa7c8f919a9adef42b8bfd136..fb5c8d36296562f6d2c5c31a1225b517cc2aad27 100644 (file)
@@ -11,7 +11,7 @@ long double __expl(long double x)     /* wrapper exp  */
   z = __ieee754_expl(x);
   if (_LIB_VERSION == _IEEE_)
     return z;
-  if (__finitel(x))
+  if (isfinite(x))
     {
       if (x >= o_thres)
        return __kernel_standard_l(x,x,206); /* exp overflow  */
index 1adc8f669f729277d7a86dd435190d687c048d7c..1bd54995a88863ff2a0d765f1930c990a4df7d2f 100644 (file)
@@ -236,7 +236,7 @@ __ieee754_y1l (long double x)
   if (__glibc_unlikely (ix <= 0x3fbe))
     {                          /* x < 2**-65 */
       z = -tpi / x;
-      if (__isinfl (z))
+      if (isinf (z))
        __set_errno (ERANGE);
       return z;
     }
index 95ff24201b95a1d06d26a09f4008fcabbe6d78b0..a6668089dd52c4ad21185ba793406cfbc790d9bc 100644 (file)
@@ -378,7 +378,7 @@ __ieee754_ynl (int n, long double x)
          }
       }
     /* If B is +-Inf, set up errno accordingly.  */
-    if (! __finitel (b))
+    if (! isfinite (b))
       __set_errno (ERANGE);
     if (sign > 0)
       ret = b;
@@ -386,7 +386,7 @@ __ieee754_ynl (int n, long double x)
       ret = -b;
   }
  out:
-  if (__isinfl (ret))
+  if (isinf (ret))
     ret = __copysignl (LDBL_MAX, ret) * LDBL_MAX;
   return ret;
 }
index 0965e6236dd4b22d6b31e2fc8ad71df35a041868..3cc165b39d67f02a123ade19022a7d8289bed0f7 100644 (file)
@@ -24,9 +24,9 @@ long double
 __expl (long double x)
 {
   long double z = __ieee754_expl (x);
-  if (__builtin_expect (!__finitel (z) || z == 0, 0)
-      && __finitel (x) && _LIB_VERSION != _IEEE_)
-    return __kernel_standard_l (x, x, 206 + !!__signbitl (x));
+  if (__builtin_expect (!isfinite (z) || z == 0, 0)
+      && isfinite (x) && _LIB_VERSION != _IEEE_)
+    return __kernel_standard_l (x, x, 206 + !!signbit (x));
 
   return z;
 }
index 000adfb8aa7073e7491e2cd948721a0dfdef783c..af962386c1a413ba334a719ab5923762deb6c743 100644 (file)
@@ -4,7 +4,7 @@ int
 attribute_hidden
 __finitel (double x)
 {
-  return __finite (x);
+  return finite (x);
 }
 extern __typeof (__finitel) finitel attribute_hidden;
 weak_alias (__finitel, finitel)
index 340d2418c03aa6a305afac34d8d0d471fac7cfe3..577ab2db28db73f66db2ae5017c9dc281e653fcb 100644 (file)
@@ -4,7 +4,7 @@ int
 attribute_hidden
 __isinfl (double x)
 {
-  return __isinf (x);
+  return isinf (x);
 }
 extern __typeof (__isinfl) isinfl attribute_hidden;
 weak_alias (__isinfl, isinfl)
index e5f0f1b394b5d61de3745636fc473083a792ca0c..2d87bf85fb7423dbe4411e081638dd6daae9c790 100644 (file)
@@ -4,7 +4,7 @@ int
 attribute_hidden
 __isnanl (double x)
 {
-  return __isnan (x);
+  return isnan (x);
 }
 extern __typeof (__isnanl) isnanl attribute_hidden;
 weak_alias (__isnanl, isnanl)
index b62d0ed7fe066709e7be4e4a8a239360119df4ab..2e98c073966441ec4960de94a5e53ccb5c7f7daf 100644 (file)
@@ -6,5 +6,5 @@ int
 attribute_hidden
 __signbitl (double x)
 {
-  return __signbit (x);
+  return signbit (x);
 }
This page took 0.186813 seconds and 5 git commands to generate.