diff options
Diffstat (limited to 'sysdeps/ieee754/dbl-64/e_jn.c')
-rw-r--r-- | sysdeps/ieee754/dbl-64/e_jn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ieee754/dbl-64/e_jn.c b/sysdeps/ieee754/dbl-64/e_jn.c index bbe04260b8..900737c401 100644 --- a/sysdeps/ieee754/dbl-64/e_jn.c +++ b/sysdeps/ieee754/dbl-64/e_jn.c @@ -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; } |