diff options
author | Eric Andersen <andersen@codepoet.org> | 2005-03-06 07:11:53 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2005-03-06 07:11:53 +0000 |
commit | c4e44e97f8562254d9da898f6ed7e6cb4d8a3ce4 (patch) | |
tree | 6c61f83ac5b94085222b3eda8d731309d61be99b /libm/w_pow.c | |
parent | d4fad9c64ee518be51ecb40662af69b405a49556 (diff) |
Trim off whitespace
Diffstat (limited to 'libm/w_pow.c')
-rw-r--r-- | libm/w_pow.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libm/w_pow.c b/libm/w_pow.c index 6d87ee558..571897cca 100644 --- a/libm/w_pow.c +++ b/libm/w_pow.c @@ -7,12 +7,12 @@ * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this - * software is freely granted, provided that this notice + * software is freely granted, provided that this notice * is preserved. * ==================================================== */ -/* +/* * wrapper pow(x,y) return x**y */ @@ -34,12 +34,12 @@ z=__ieee754_pow(x,y); if(_LIB_VERSION == _IEEE_|| isnan(y)) return z; if(isnan(x)) { - if(y==0.0) + if(y==0.0) return __kernel_standard(x,y,42); /* pow(NaN,0.0) */ - else + else return z; } - if(x==0.0){ + if(x==0.0){ if(y==0.0) return __kernel_standard(x,y,20); /* pow(0.0,0.0) */ if(finite(y)&&y<0.0) @@ -50,10 +50,10 @@ if(finite(x)&&finite(y)) { if(isnan(z)) return __kernel_standard(x,y,24); /* pow neg**non-int */ - else + else return __kernel_standard(x,y,21); /* pow overflow */ } - } + } if(z==0.0&&finite(x)&&finite(y)) return __kernel_standard(x,y,22); /* pow underflow */ return z; |