diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2015-06-03 15:36:34 +0100 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2015-06-03 15:41:36 +0100 |
commit | d81f90ccd0109de9ed78aeeb8d86e2c6d4600690 (patch) | |
tree | 6dfdc3458a8684e3633e20b8cf37385ee7082840 /sysdeps/ieee754/ldbl-128ibm | |
parent | f014e87eff1c9935a8bd9f7b7ab66ff5ef562ee9 (diff) | |
download | glibc-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-128ibm')
-rw-r--r-- | sysdeps/ieee754/ldbl-128ibm/e_acosl.c | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-128ibm/e_asinl.c | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-128ibm/e_exp10l.c | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-128ibm/e_expl.c | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-128ibm/e_jnl.c | 4 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c | 4 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-128ibm/s_ctanl.c | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-128ibm/w_expl.c | 2 |
8 files changed, 10 insertions, 10 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm/e_acosl.c b/sysdeps/ieee754/ldbl-128ibm/e_acosl.c index e5030f1b52..5974ee1338 100644 --- a/sysdeps/ieee754/ldbl-128ibm/e_acosl.c +++ b/sysdeps/ieee754/ldbl-128ibm/e_acosl.c @@ -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) diff --git a/sysdeps/ieee754/ldbl-128ibm/e_asinl.c b/sysdeps/ieee754/ldbl-128ibm/e_asinl.c index 5bc847ad26..57c3ac09c8 100644 --- a/sysdeps/ieee754/ldbl-128ibm/e_asinl.c +++ b/sysdeps/ieee754/ldbl-128ibm/e_asinl.c @@ -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); diff --git a/sysdeps/ieee754/ldbl-128ibm/e_exp10l.c b/sysdeps/ieee754/ldbl-128ibm/e_exp10l.c index dca207c1f9..deefe7f54f 100644 --- a/sysdeps/ieee754/ldbl-128ibm/e_exp10l.c +++ b/sysdeps/ieee754/ldbl-128ibm/e_exp10l.c @@ -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; diff --git a/sysdeps/ieee754/ldbl-128ibm/e_expl.c b/sysdeps/ieee754/ldbl-128ibm/e_expl.c index 812aa89e44..15ccc454e1 100644 --- a/sysdeps/ieee754/ldbl-128ibm/e_expl.c +++ b/sysdeps/ieee754/ldbl-128ibm/e_expl.c @@ -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 diff --git a/sysdeps/ieee754/ldbl-128ibm/e_jnl.c b/sysdeps/ieee754/ldbl-128ibm/e_jnl.c index 589f1f822a..d2b9318327 100644 --- a/sysdeps/ieee754/ldbl-128ibm/e_jnl.c +++ b/sysdeps/ieee754/ldbl-128ibm/e_jnl.c @@ -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; } diff --git a/sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c b/sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c index 76b4b56510..96bdccd9f8 100644 --- a/sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c +++ b/sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c @@ -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 } diff --git a/sysdeps/ieee754/ldbl-128ibm/s_ctanl.c b/sysdeps/ieee754/ldbl-128ibm/s_ctanl.c index e2fde7db4b..fc44378e5c 100644 --- a/sysdeps/ieee754/ldbl-128ibm/s_ctanl.c +++ b/sysdeps/ieee754/ldbl-128ibm/s_ctanl.c @@ -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); diff --git a/sysdeps/ieee754/ldbl-128ibm/w_expl.c b/sysdeps/ieee754/ldbl-128ibm/w_expl.c index 70fe5f693e..fb5c8d3629 100644 --- a/sysdeps/ieee754/ldbl-128ibm/w_expl.c +++ b/sysdeps/ieee754/ldbl-128ibm/w_expl.c @@ -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 */ |