projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
keep user-provided CFLAGS/LDFLAGS separate from those added by configure
[musl]
/
src
/
math
/
powf.c
diff --git
a/src/math/powf.c
b/src/math/powf.c
index
59baf6f
..
427c896
100644
(file)
--- a/
src/math/powf.c
+++ b/
src/math/powf.c
@@
-90,7
+90,7
@@
float powf(float x, float y)
return 1.0f;
else if (ix > 0x3f800000) /* (|x|>1)**+-inf = inf,0 */
return hy >= 0 ? y : 0.0f;
return 1.0f;
else if (ix > 0x3f800000) /* (|x|>1)**+-inf = inf,0 */
return hy >= 0 ? y : 0.0f;
- else
if (ix != 0) /* (|x|<1)**+-inf = 0,inf if x!=0
*/
+ else
/* (|x|<1)**+-inf = 0,inf
*/
return hy >= 0 ? 0.0f: -y;
}
if (iy == 0x3f800000) /* y is +-1 */
return hy >= 0 ? 0.0f: -y;
}
if (iy == 0x3f800000) /* y is +-1 */