(__ceill): Fix mask.
authordrepper <drepper>
Mon, 16 Oct 2000 18:15:14 +0000 (18:15 +0000)
committerdrepper <drepper>
Mon, 16 Oct 2000 18:15:14 +0000 (18:15 +0000)
sysdeps/ieee754/ldbl-128/s_ceill.c

index f241554..76bda9f 100644 (file)
@@ -53,7 +53,7 @@ static long double huge = 1.0e4930;
                    else if((i0|i1)!=0) { i0=0x3fff000000000000ULL;i1=0;}
                }
            } else {
-               i = (0x7fffffffffffffffULL)>>j0;
+               i = (0x0000ffffffffffffULL)>>j0;
                if(((i0&i)|i1)==0) return x; /* x is integral */
                if(huge+x>0.0) {        /* raise inexact flag */
                    if(i0>0) i0 += (0x0001000000000000LL)>>j0;