about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-07-05 11:02:13 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-07-05 11:02:13 +0000
commitcdfe2c5eb3703ed964cbfdb6906b21ace2956385 (patch)
treec9e8f3452c8450524666f1287f5d8e0fc72a2875 /ChangeLog
parent704bc4594dc1fad46831823627749fa10924b41d (diff)
downloadglibc-cdfe2c5eb3703ed964cbfdb6906b21ace2956385.tar.gz
glibc-cdfe2c5eb3703ed964cbfdb6906b21ace2956385.tar.xz
glibc-cdfe2c5eb3703ed964cbfdb6906b21ace2956385.zip
Fix csqrt underflow (bugs 14157, 14331).
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0a4d181d2c..599399240f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2012-07-05  Joseph Myers  <joseph@codesourcery.com>
+
+	[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  <schwab@linux-m68k.org>
 
 	* catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of