diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-07-05 11:02:13 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-07-05 11:02:13 +0000 |
commit | cdfe2c5eb3703ed964cbfdb6906b21ace2956385 (patch) | |
tree | c9e8f3452c8450524666f1287f5d8e0fc72a2875 /ChangeLog | |
parent | 704bc4594dc1fad46831823627749fa10924b41d (diff) | |
download | glibc-cdfe2c5eb3703ed964cbfdb6906b21ace2956385.zip glibc-cdfe2c5eb3703ed964cbfdb6906b21ace2956385.tar.gz glibc-cdfe2c5eb3703ed964cbfdb6906b21ace2956385.tar.bz2 |
Fix csqrt underflow (bugs 14157, 14331).
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 |