about summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-96
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2015-06-03 15:36:34 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2015-06-03 15:41:36 +0100
commitd81f90ccd0109de9ed78aeeb8d86e2c6d4600690 (patch)
tree6dfdc3458a8684e3633e20b8cf37385ee7082840 /sysdeps/ieee754/ldbl-96
parentf014e87eff1c9935a8bd9f7b7ab66ff5ef562ee9 (diff)
downloadglibc-d81f90ccd0109de9ed78aeeb8d86e2c6d4600690.tar.gz
glibc-d81f90ccd0109de9ed78aeeb8d86e2c6d4600690.tar.xz
glibc-d81f90ccd0109de9ed78aeeb8d86e2c6d4600690.zip
This patch renames all uses of __isinf*, __isnan*, __finite* and __signbit* to use standard C99 macros. This has no effect on generated code.
Diffstat (limited to 'sysdeps/ieee754/ldbl-96')
-rw-r--r--sysdeps/ieee754/ldbl-96/e_j1l.c2
-rw-r--r--sysdeps/ieee754/ldbl-96/e_jnl.c4
-rw-r--r--sysdeps/ieee754/ldbl-96/w_expl.c6
3 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/ieee754/ldbl-96/e_j1l.c b/sysdeps/ieee754/ldbl-96/e_j1l.c
index 1adc8f669f..1bd54995a8 100644
--- a/sysdeps/ieee754/ldbl-96/e_j1l.c
+++ b/sysdeps/ieee754/ldbl-96/e_j1l.c
@@ -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;
     }
diff --git a/sysdeps/ieee754/ldbl-96/e_jnl.c b/sysdeps/ieee754/ldbl-96/e_jnl.c
index 95ff24201b..a6668089dd 100644
--- a/sysdeps/ieee754/ldbl-96/e_jnl.c
+++ b/sysdeps/ieee754/ldbl-96/e_jnl.c
@@ -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;
 }
diff --git a/sysdeps/ieee754/ldbl-96/w_expl.c b/sysdeps/ieee754/ldbl-96/w_expl.c
index 0965e6236d..3cc165b39d 100644
--- a/sysdeps/ieee754/ldbl-96/w_expl.c
+++ b/sysdeps/ieee754/ldbl-96/w_expl.c
@@ -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;
 }