diff options
Diffstat (limited to 'math/s_ldexpf.c')
-rw-r--r-- | math/s_ldexpf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/s_ldexpf.c b/math/s_ldexpf.c index bd946776e2..24054ffa71 100644 --- a/math/s_ldexpf.c +++ b/math/s_ldexpf.c @@ -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) |