diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-05-14 23:51:09 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-05-14 23:51:09 +0000 |
commit | 9a71f1fcf53615c00b5f9e5da4bba92bccb0efb4 (patch) | |
tree | 803585f46a9049a90164009e560b8f25e262faa0 /NEWS | |
parent | 0b7a5f920163d03806d7c5d9d1c83b16942c9496 (diff) | |
download | glibc-9a71f1fcf53615c00b5f9e5da4bba92bccb0efb4.tar.gz glibc-9a71f1fcf53615c00b5f9e5da4bba92bccb0efb4.tar.xz glibc-9a71f1fcf53615c00b5f9e5da4bba92bccb0efb4.zip |
Fix atanf spurious underflows (bug 18196).
The sysdeps/ieee754/flt-32 version of atanf produces spurious underflow exceptions for some large arguments, because of computations that compute x^-4. This patch fixes this by adjusting the threshold for large arguments (for which +/- pi/2 can just be returned, the correct result being roughly +/- pi/2 - 1/x) from 2^34 to 2^25. Tested for x86_64 and x86. [BZ #18196] * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as threshold for large arguments. * math/auto-libm-test-in: Add another test of atan. * math/auto-libm-test-out: Regenerated.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NEWS b/NEWS index a9b0138b3e..c46ee35103 100644 --- a/NEWS +++ b/NEWS @@ -16,8 +16,8 @@ Version 2.22 17964, 17965, 17967, 17969, 17978, 17987, 17991, 17996, 17998, 17999, 18007, 18019, 18020, 18029, 18030, 18032, 18036, 18038, 18039, 18042, 18043, 18046, 18047, 18068, 18080, 18093, 18100, 18104, 18110, 18111, - 18125, 18128, 18138, 18185, 18197, 18206, 18210, 18211, 18247, 18287, - 18319, 18333, 18346, 18397, 18409. + 18125, 18128, 18138, 18185, 18196, 18197, 18206, 18210, 18211, 18247, + 18287, 18319, 18333, 18346, 18397, 18409. * Cache information can be queried via sysconf() function on s390 e.g. with _SC_LEVEL1_ICACHE_SIZE as argument. |