diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-10-16 18:17:25 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-10-16 18:17:25 +0000 |
commit | 3c6cad26ae5e78d70aa5d5ae743407c5c9c1b9e8 (patch) | |
tree | 4e89b5a96fd815e2242b70a6756e8e19645711e8 /sysdeps/ieee754 | |
parent | db49e90c38ffe60edad1d8632b725f67beb24f35 (diff) | |
download | glibc-3c6cad26ae5e78d70aa5d5ae743407c5c9c1b9e8.tar.gz glibc-3c6cad26ae5e78d70aa5d5ae743407c5c9c1b9e8.tar.xz glibc-3c6cad26ae5e78d70aa5d5ae743407c5c9c1b9e8.zip |
Update.
* sysdeps/i386/fpu/libm-test-ulps: Update for changes in libm-test.inc. 2000-10-16 Jakub Jelinek <jakub@redhat.com> * math/libm-test.inc (M_LOG_SQRT_PIl, M_LOG_2_SQRT_PIl): Increase precision. (acos_test, asin_text, cexp_test, cos_test, cproj_test, exp10_test, sin_test, sincos_test, sqrt_test): Likewise. Add L suffixes also to parameters. (acosh_test, asinh_test, atan2_test, atanh_test, atan_test, cabs_test, cacosh_test, cacos_test, casinh_test, casin_test, catanh_test, catan_test, cbrt_test, ccosh_test, ccos_test, clog10_test, cosh_test, csinh_test, csin_test, csqrt_test, ctanh_test, ctan_test, erfc_test, erf_test, exp2_test, expm1_test, exp_test, fmod_test, hypot_test, j0_test, j1_test, jn_test, lgamma_test, llrint_test, llround_test, log10_test, log1p_test, log2_test, log_test, lrint_test, lround_test, nextafter_test, nexttoward_test, pow_test, round_test, scalb_test, sinh_test, static void, tanh_test, tan_test, tgamma_test, y0_test, y1_test, yn_test): Add L suffixes also to parameters. * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Fix mask. * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise. * soft-fp/op-2.h (_FP_FRAC_SRS_2): Fix computation of sticky bit. 2000-10-16 Ulrich Drepper <drepper@redhat.com>
Diffstat (limited to 'sysdeps/ieee754')
-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; |