X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fmath%2Fceil.c;h=195551805dded45c289e6c2053eed83cd7908e76;hp=c2ab4a54866f15b0d067243d23feb8c4204ce489;hb=be81f51030d90de8d5eb0b65dbdab3032d5cae23;hpb=b69f695acedd4ce2798ef9ea28d834ceccc789bd diff --git a/src/math/ceil.c b/src/math/ceil.c index c2ab4a54..19555180 100644 --- a/src/math/ceil.c +++ b/src/math/ceil.c @@ -34,7 +34,6 @@ double ceil(double x) if (j0 < 0) { /* raise inexact if x != 0 */ if (huge+x > 0.0) { - /* return 0*sign(x) if |x|<1 */ if (i0 < 0) { i0 = 0x80000000; i1=0; @@ -44,7 +43,7 @@ double ceil(double x) } } } else { - i = (0x000fffff)>>j0; + i = 0x000fffff>>j0; if (((i0&i)|i1) == 0) /* x is integral */ return x; /* raise inexact flag */