summaryrefslogtreecommitdiffstats
path: root/newlib/libm/math/ef_scalb.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/math/ef_scalb.c')
-rw-r--r--newlib/libm/math/ef_scalb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/math/ef_scalb.c b/newlib/libm/math/ef_scalb.c
index 3677a3b1f..8d973b1e7 100644
--- a/newlib/libm/math/ef_scalb.c
+++ b/newlib/libm/math/ef_scalb.c
@@ -35,7 +35,7 @@
#ifdef _SCALB_INT
return scalbnf(x,fn);
#else
- if (isnanf(x)||isnanf(fn)) return x*fn;
+ if (isnan(x)||isnan(fn)) return x*fn;
if (!finitef(fn)) {
if(fn>(float)0.0) return x*fn;
else return x/(-fn);