diff options
Diffstat (limited to 'sysdeps/ieee754/flt-32/e_jnf.c')
-rw-r--r-- | sysdeps/ieee754/flt-32/e_jnf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ieee754/flt-32/e_jnf.c b/sysdeps/ieee754/flt-32/e_jnf.c index 86085cc..dc4b371 100644 --- a/sysdeps/ieee754/flt-32/e_jnf.c +++ b/sysdeps/ieee754/flt-32/e_jnf.c @@ -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; } |