summaryrefslogtreecommitdiff
path: root/libm/e_scalb.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/e_scalb.c')
-rw-r--r--libm/e_scalb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libm/e_scalb.c b/libm/e_scalb.c
index 2f0dba14a..33eaeeac6 100644
--- a/libm/e_scalb.c
+++ b/libm/e_scalb.c
@@ -44,7 +44,7 @@ static char rcsid[] = "$NetBSD: e_scalb.c,v 1.6 1995/05/10 20:46:09 jtc Exp $";
return scalbn(x,fn);
#else
if (isnan(x)||isnan(fn)) return x*fn;
- if (!finite(fn)) {
+ if (!isfinite(fn)) {
if(fn>0.0) return x*fn;
else return x/(-fn);
}