diff options
Diffstat (limited to 'newlib/libm/math/wf_log.c')
-rw-r--r-- | newlib/libm/math/wf_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/math/wf_log.c b/newlib/libm/math/wf_log.c index 989eeb335..4518b863b 100644 --- a/newlib/libm/math/wf_log.c +++ b/newlib/libm/math/wf_log.c @@ -33,7 +33,7 @@ float z; struct exception exc; z = __ieee754_logf(x); - if(_LIB_VERSION == _IEEE_ || isnanf(x) || x > (float)0.0) return z; + if(_LIB_VERSION == _IEEE_ || isnan(x) || x > (float)0.0) return z; #ifndef HUGE_VAL #define HUGE_VAL inf double inf = 0.0; |