summaryrefslogtreecommitdiff
path: root/libm/s_ldexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/s_ldexp.c')
-rw-r--r--libm/s_ldexp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libm/s_ldexp.c b/libm/s_ldexp.c
index a065f5ada..02dae6fcf 100644
--- a/libm/s_ldexp.c
+++ b/libm/s_ldexp.c
@@ -26,9 +26,9 @@ static char rcsid[] = "$NetBSD: s_ldexp.c,v 1.6 1995/05/10 20:47:40 jtc Exp $";
double value; int exp;
#endif
{
- if(!finite(value)||value==0.0) return value;
+ if(!isfinite(value)||value==0.0) return value;
value = scalbn(value,exp);
- if(!finite(value)||value==0.0) errno = ERANGE;
+ if(!isfinite(value)||value==0.0) errno = ERANGE;
return value;
}
libm_hidden_def(ldexp)