about summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-128/s_ceill.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/ldbl-128/s_ceill.c')
-rw-r--r--sysdeps/ieee754/ldbl-128/s_ceill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/ldbl-128/s_ceill.c b/sysdeps/ieee754/ldbl-128/s_ceill.c
index f241554042..76bda9fc0b 100644
--- a/sysdeps/ieee754/ldbl-128/s_ceill.c
+++ b/sysdeps/ieee754/ldbl-128/s_ceill.c
@@ -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;