summaryrefslogtreecommitdiffstats
path: root/newlib/libm/math/wf_scalb.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/math/wf_scalb.c')
-rw-r--r--newlib/libm/math/wf_scalb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/math/wf_scalb.c b/newlib/libm/math/wf_scalb.c
index bd2d9f8b4..d2c3cd2aa 100644
--- a/newlib/libm/math/wf_scalb.c
+++ b/newlib/libm/math/wf_scalb.c
@@ -50,7 +50,7 @@
struct exception exc;
z = __ieee754_scalbf(x,fn);
if(_LIB_VERSION == _IEEE_) return z;
- if(!(finitef(z)||isnanf(z))&&finitef(x)) {
+ if(!(finitef(z)||isnan(z))&&finitef(x)) {
/* scalbf overflow; SVID also returns +-HUGE_VAL */
exc.type = OVERFLOW;
exc.name = "scalbf";