diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-08-10 20:35:30 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-08-10 20:35:30 +0000 |
commit | 7ee06ef15827f8f2582a94b1ceaad47eaf502744 (patch) | |
tree | a9708093ad2f011a6a92b76e7aab574b72593649 /NEWS | |
parent | eb32b0d40308166c4d8f6330cc2958cb1e545075 (diff) | |
download | glibc-7ee06ef15827f8f2582a94b1ceaad47eaf502744.tar.gz glibc-7ee06ef15827f8f2582a94b1ceaad47eaf502744.tar.xz glibc-7ee06ef15827f8f2582a94b1ceaad47eaf502744.zip |
Fix ldbl-128ibm tanhl inaccuracy (bug 18790).
ldbl-128ibm tanhl uses a too-small threshold to decide when to return +/-1, resulting in large errors. This patch changes it to a more appropriate threshold (the requirement is for 2*exp(-2|x|) to be small in terms of ulps of 1). Tested for x86_64, x86 and powerpc. [BZ #18790] * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase threshold for returning +/- 1. * math/auto-libm-test-in: Add more tests of tanh. * math/auto-libm-test-out: Regenerated. * sysdeps/i386/fpu/libm-test-ulps: Update.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NEWS b/NEWS index ef7e1a9f8f..b73fb72e2a 100644 --- a/NEWS +++ b/NEWS @@ -10,7 +10,7 @@ Version 2.23 * The following bugs are resolved with this release: 16517, 16519, 17905, 18265, 18480, 18525, 18618, 18647, 18661, 18674, - 18781, 18787, 18789. + 18781, 18787, 18789, 18790. Version 2.22 |