X-Git-Url: http://nsz.repo.hu/git/?p=libm;a=blobdiff_plain;f=src%2Fmath%2Fsqrt.c;h=2ebd022b0c3cb73ca4300fb5da24072f7a61da1f;hp=e4b166da4845e2b1aeebf871854f3b30199868e7;hb=HEAD;hpb=ed769c6bef21cd704a53b2eecfb3d13a338a6a5d diff --git a/src/math/sqrt.c b/src/math/sqrt.c index e4b166d..2ebd022 100644 --- a/src/math/sqrt.c +++ b/src/math/sqrt.c @@ -95,7 +95,7 @@ double sqrt(double x) } /* take care of zero */ if (ix0 <= 0) { - if (((ix0&(~sign))|ix1) == 0) + if (((ix0&~sign)|ix1) == 0) return x; /* sqrt(+-0) = +-0 */ if (ix0 < 0) return (x-x)/(x-x); /* sqrt(-ve) = sNaN */