diff options
author | Joseph Myers <joseph@codesourcery.com> | 2014-06-24 20:56:56 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2014-06-24 20:56:56 +0000 |
commit | e7dd3c8c1db8c6d293abb995e033893b7328ad19 (patch) | |
tree | dcfbd9476c52dbccdedf8d691b37b7442199a756 /NEWS | |
parent | 0ea5d373c7984a1da2d0e990c6e78e6d6c24f91b (diff) | |
download | glibc-e7dd3c8c1db8c6d293abb995e033893b7328ad19.zip glibc-e7dd3c8c1db8c6d293abb995e033893b7328ad19.tar.gz glibc-e7dd3c8c1db8c6d293abb995e033893b7328ad19.tar.bz2 |
Fix ldbl-128 erfl spurious underflows (bug 16287).
This patch fixes bug 16287, spurious underflows from ldbl-128 erfl
arising from it calling erfcl for arguments with absolute value at
least 1.0, although for large positive arguments erfcl correctly
underflows but erfl shouldn't. The fix is simply to avoid calling
erfcl, and just return 1, for arguments above a cut-off large enough
that erfl correctly rounds to-nearest as 1 but not so large that erfcl
underflows.
Tested mips64. Also tested x86_64 and x86 to confirm the new tests
(taken from the tests of erfc) don't cause any problems there; no ulps
updates needed.
[BZ #16287]
* sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
calling __erfcl for arguments at least 16.
* math/auto-libm-test-in: Add more tests of erf.
* math/auto-libm-test-out: Regenerated.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -10,18 +10,18 @@ Version 2.20 * The following bugs are resolved with this release: 6804, 9894, 12994, 13347, 13651, 14308, 14770, 15119, 15132, 15347, 15514, - 15698, 15804, 15894, 15946, 16002, 16064, 16095, 16198, 16284, 16315, - 16348, 16349, 16354, 16357, 16362, 16447, 16516, 16532, 16545, 16564, - 16574, 16599, 16600, 16609, 16610, 16611, 16613, 16619, 16623, 16629, - 16632, 16634, 16639, 16642, 16648, 16649, 16670, 16674, 16677, 16680, - 16681, 16683, 16689, 16695, 16701, 16706, 16707, 16712, 16713, 16714, - 16724, 16731, 16739, 16740, 16743, 16754, 16758, 16759, 16760, 16770, - 16786, 16789, 16791, 16796, 16799, 16800, 16815, 16823, 16824, 16831, - 16838, 16849, 16854, 16876, 16877, 16878, 16882, 16885, 16888, 16890, - 16912, 16915, 16916, 16917, 16918, 16922, 16927, 16928, 16932, 16943, - 16958, 16965, 16966, 16967, 16977, 16978, 16984, 16990, 16996, 17009, - 17022, 17031, 17042, 17048, 17050, 17058, 17061, 17062, 17069, 17075, - 17079, 17084. + 15698, 15804, 15894, 15946, 16002, 16064, 16095, 16198, 16284, 16287, + 16315, 16348, 16349, 16354, 16357, 16362, 16447, 16516, 16532, 16545, + 16564, 16574, 16599, 16600, 16609, 16610, 16611, 16613, 16619, 16623, + 16629, 16632, 16634, 16639, 16642, 16648, 16649, 16670, 16674, 16677, + 16680, 16681, 16683, 16689, 16695, 16701, 16706, 16707, 16712, 16713, + 16714, 16724, 16731, 16739, 16740, 16743, 16754, 16758, 16759, 16760, + 16770, 16786, 16789, 16791, 16796, 16799, 16800, 16815, 16823, 16824, + 16831, 16838, 16849, 16854, 16876, 16877, 16878, 16882, 16885, 16888, + 16890, 16912, 16915, 16916, 16917, 16918, 16922, 16927, 16928, 16932, + 16943, 16958, 16965, 16966, 16967, 16977, 16978, 16984, 16990, 16996, + 17009, 17022, 17031, 17042, 17048, 17050, 17058, 17061, 17062, 17069, + 17075, 17079, 17084. * Optimized strchr implementation for AArch64. Contributed by ARM Ltd. |