diff options
Diffstat (limited to 'newlib/libm/math/wf_sqrt.c')
-rw-r--r-- | newlib/libm/math/wf_sqrt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/math/wf_sqrt.c b/newlib/libm/math/wf_sqrt.c index 6e792c923..4536ba0ac 100644 --- a/newlib/libm/math/wf_sqrt.c +++ b/newlib/libm/math/wf_sqrt.c @@ -33,7 +33,7 @@ float z; struct exception exc; z = __ieee754_sqrtf(x); - if(_LIB_VERSION == _IEEE_ || isnanf(x)) return z; + if(_LIB_VERSION == _IEEE_ || isnan(x)) return z; if(x<(float)0.0) { /* sqrtf(negative) */ exc.type = DOMAIN; |