diff options
Diffstat (limited to 'sysdeps/ieee754/ldbl-128')
-rw-r--r-- | sysdeps/ieee754/ldbl-128/s_ceill.c | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-128/s_floorl.c | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/sysdeps/ieee754/ldbl-128/s_floorl.c b/sysdeps/ieee754/ldbl-128/s_floorl.c index c9b8b70dbf..ff5b98da9d 100644 --- a/sysdeps/ieee754/ldbl-128/s_floorl.c +++ b/sysdeps/ieee754/ldbl-128/s_floorl.c @@ -54,7 +54,7 @@ static long double huge = 1.0e4930; { i0=0xbfff000000000000ULL;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; |