diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-06-29 16:52:16 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-06-29 16:52:16 +0000 |
commit | 63dbe5f32238858c7b953b867ed0588c7808dd4f (patch) | |
tree | 05aff3104a86894353a10f5ddc0c32deef550977 /NEWS | |
parent | 31545c23277cd54a1edd41c85d8255fb589158e3 (diff) | |
download | glibc-63dbe5f32238858c7b953b867ed0588c7808dd4f.tar.gz glibc-63dbe5f32238858c7b953b867ed0588c7808dd4f.tar.xz glibc-63dbe5f32238858c7b953b867ed0588c7808dd4f.zip |
Fix j1, jn missing underflows (bug 16559).
Similar to various other bugs in this area, j1 and jn implementations can fail to raise the underflow exception when the internal computation is exact although the actual function is inexact. This patch forces the exception in a similar way to other such fixes. (The ldbl-128 / ldbl-128ibm j1l implementation is different and doesn't need a change for this until spurious underflows in it are fixed.) Tested for x86_64, x86, mips64 and powerpc. [BZ #16559] * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>. (__ieee754_j1): Force underflow exception for small results. * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise. * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>. (__ieee754_j1f): Force underflow exception for small results. * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise. * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise. * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise. * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>. (__ieee754_j1l): Force underflow exception for small results. * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise. * math/auto-libm-test-in: Add more tests of j1 and jn. * math/auto-libm-test-out: Regenerated.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/NEWS b/NEWS index 6bfb82275d..c454e912be 100644 --- a/NEWS +++ b/NEWS @@ -11,21 +11,21 @@ Version 2.22 438, 4719, 6792, 13028, 13064, 14094, 14841, 14906, 14958, 15319, 15467, 15790, 15969, 16159, 16339, 16350, 16351, 16352, 16353, 16361, 16512, - 16526, 16538, 16560, 16704, 16783, 16850, 17053, 17090, 17195, 17269, - 17293, 17322, 17403, 17523, 17542, 17569, 17581, 17588, 17596, 17620, - 17621, 17628, 17631, 17692, 17711, 17715, 17776, 17779, 17792, 17836, - 17841, 17912, 17916, 17930, 17932, 17944, 17949, 17964, 17965, 17967, - 17969, 17977, 17978, 17987, 17991, 17996, 17998, 17999, 18007, 18019, - 18020, 18029, 18030, 18032, 18034, 18036, 18038, 18039, 18042, 18043, - 18046, 18047, 18049, 18068, 18080, 18093, 18100, 18104, 18110, 18111, - 18116, 18125, 18128, 18138, 18185, 18196, 18197, 18206, 18210, 18211, - 18217, 18219, 18220, 18221, 18234, 18244, 18245, 18247, 18287, 18319, - 18324, 18333, 18346, 18371, 18397, 18409, 18410, 18412, 18418, 18422, - 18434, 18444, 18468, 18469, 18470, 18479, 18483, 18495, 18496, 18497, - 18498, 18502, 18507, 18512, 18513, 18519, 18520, 18522, 18527, 18528, - 18529, 18530, 18532, 18533, 18534, 18536, 18539, 18540, 18542, 18544, - 18545, 18546, 18547, 18549, 18553, 18558, 18569, 18583, 18585, 18586, - 18593, 18594, 18602. + 16526, 16538, 16559, 16560, 16704, 16783, 16850, 17053, 17090, 17195, + 17269, 17293, 17322, 17403, 17523, 17542, 17569, 17581, 17588, 17596, + 17620, 17621, 17628, 17631, 17692, 17711, 17715, 17776, 17779, 17792, + 17836, 17841, 17912, 17916, 17930, 17932, 17944, 17949, 17964, 17965, + 17967, 17969, 17977, 17978, 17987, 17991, 17996, 17998, 17999, 18007, + 18019, 18020, 18029, 18030, 18032, 18034, 18036, 18038, 18039, 18042, + 18043, 18046, 18047, 18049, 18068, 18080, 18093, 18100, 18104, 18110, + 18111, 18116, 18125, 18128, 18138, 18185, 18196, 18197, 18206, 18210, + 18211, 18217, 18219, 18220, 18221, 18234, 18244, 18245, 18247, 18287, + 18319, 18324, 18333, 18346, 18371, 18397, 18409, 18410, 18412, 18418, + 18422, 18434, 18444, 18468, 18469, 18470, 18479, 18483, 18495, 18496, + 18497, 18498, 18502, 18507, 18512, 18513, 18519, 18520, 18522, 18527, + 18528, 18529, 18530, 18532, 18533, 18534, 18536, 18539, 18540, 18542, + 18544, 18545, 18546, 18547, 18549, 18553, 18558, 18569, 18583, 18585, + 18586, 18593, 18594, 18602. * Cache information can be queried via sysconf() function on s390 e.g. with _SC_LEVEL1_ICACHE_SIZE as argument. |