From cdfe2c5eb3703ed964cbfdb6906b21ace2956385 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 5 Jul 2012 11:02:13 +0000 Subject: Fix csqrt underflow (bugs 14157, 14331). --- ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 0a4d181d2c..599399240f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2012-07-05 Joseph Myers + + [BZ #14157] + [BZ #14331] + * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this + could result in spurious underflow. Scale down values above + DBL_MAX / 4.0 instead of DBL_MAX / 2.0. + * math/s_csqrtf.c (__csqrtf): Likewise. + * math/s_csqrtl.c (__csqrtl): Likewise. + * math/libm-test.inc (csqrt_test): Add more tests. Do not allow + spurious underflow. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + 2012-07-04 Andreas Schwab * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of -- cgit v1.2.3