Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/math/wf_pow.c')
-rw-r--r--newlib/libm/math/wf_pow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libm/math/wf_pow.c b/newlib/libm/math/wf_pow.c
index eaeed85ab..a30f8808e 100644
--- a/newlib/libm/math/wf_pow.c
+++ b/newlib/libm/math/wf_pow.c
@@ -33,8 +33,8 @@
float z;
struct exception exc;
z=__ieee754_powf(x,y);
- if(_LIB_VERSION == _IEEE_|| isnanf(y)) return z;
- if(isnanf(x)) {
+ if(_LIB_VERSION == _IEEE_|| isnan(y)) return z;
+ if(isnan(x)) {
if(y==(float)0.0) {
/* powf(NaN,0.0) */
/* error only if _LIB_VERSION == _SVID_ & _XOPEN_ */
@@ -97,7 +97,7 @@
}
if(!finitef(z)) {
if(finitef(x)&&finitef(y)) {
- if(isnanf(z)) {
+ if(isnan(z)) {
/* neg**non-integral */
exc.type = DOMAIN;
exc.name = "powf";