diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-09-17 15:51:54 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-09-17 15:51:54 +0000 |
commit | 46f74e1deee549b41160d353ce0c8f7db555d36c (patch) | |
tree | 19f07ad8fb51bb5e8de5106dc98654e7817eb04e /NEWS | |
parent | e67dc1b57f1fc8407cb45bdb38ae1eaa0a5c6f78 (diff) | |
download | glibc-46f74e1deee549b41160d353ce0c8f7db555d36c.zip glibc-46f74e1deee549b41160d353ce0c8f7db555d36c.tar.gz glibc-46f74e1deee549b41160d353ce0c8f7db555d36c.tar.bz2 |
Fix tgamma missing underflows (bug 18951).
Similar to various other bugs in this area, tgamma functions can fail
to raise the underflow exception when the result is tiny and inexact
but one or more low bits of the intermediate result that is scaled
down are zero. This patch forces the exception in a similar way to
previous fixes.
Tested for x86_64, x86, mips64 and powerpc.
[BZ #18951]
* sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
underflow exception for small results.
* sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
Likewise.
* sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
Likewise.
* sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
Likewise.
* sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
Likewise.
* math/auto-libm-test-in: Add more tests of tgamma.
* math/auto-libm-test-out: Regenerated.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,8 +14,8 @@ Version 2.23 17244, 17787, 17905, 18084, 18086, 18240, 18265, 18370, 18421, 18480, 18525, 18595, 18610, 18618, 18647, 18661, 18674, 18675, 18681, 18757, 18778, 18781, 18787, 18789, 18790, 18795, 18796, 18820, 18823, 18824, - 18857, 18863, 18870, 18872, 18873, 18875, 18887, 18921, 18952, 18961, - 18966, 18967, 18977. + 18857, 18863, 18870, 18872, 18873, 18875, 18887, 18921, 18951, 18952, + 18961, 18966, 18967, 18977. * The obsolete header <regexp.h> has been removed. Programs that require this header must be updated to use <regex.h> instead. |