X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fpowf.c;h=427c8965b9e8e78bca69660427a4e313087c3e0a;hb=282b1cd26649d69de038111f5876853df6ddc345;hp=59baf6f3809cf0b9dfa9d6d55442c86a41e058fd;hpb=f29fea00b5bc72d4b8abccba2bb1e312684d1fce;p=musl diff --git a/src/math/powf.c b/src/math/powf.c index 59baf6f3..427c8965 100644 --- 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; - 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 */