summaryrefslogtreecommitdiff
path: root/soft-fp
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-16 18:17:25 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-16 18:17:25 +0000
commit3c6cad26ae5e78d70aa5d5ae743407c5c9c1b9e8 (patch)
tree4e89b5a96fd815e2242b70a6756e8e19645711e8 /soft-fp
parentdb49e90c38ffe60edad1d8632b725f67beb24f35 (diff)
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 'soft-fp')
-rw-r--r--soft-fp/op-2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/soft-fp/op-2.h b/soft-fp/op-2.h
index ad3fbc538a..45bae634ba 100644
--- a/soft-fp/op-2.h
+++ b/soft-fp/op-2.h
@@ -79,7 +79,8 @@
else \
{ \
X##_f0 = (X##_f1 >> ((N) - _FP_W_TYPE_SIZE) | \
- (((X##_f1 << (sz - (N))) | X##_f0) != 0)); \
+ (((X##_f1 << (2*_FP_W_TYPE_SIZE - (N))) | \
+ X##_f0) != 0)); \
X##_f1 = 0; \
} \
} while (0)