diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-09-11 15:34:25 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-09-11 15:34:25 +0000 |
commit | 9bb69b60fa6efdaebfa4d1a0291b555e71cd9caf (patch) | |
tree | a8cda96332995622ef26c004c599596f11b4946b /NEWS | |
parent | 00a7073c3810da6ef24a2e58cf6b574ac7926d23 (diff) | |
download | glibc-9bb69b60fa6efdaebfa4d1a0291b555e71cd9caf.zip glibc-9bb69b60fa6efdaebfa4d1a0291b555e71cd9caf.tar.gz glibc-9bb69b60fa6efdaebfa4d1a0291b555e71cd9caf.tar.bz2 |
Fix ldbl-128/ldbl-128ibm lgamma spurious "invalid", incorrect signgam (bug 18952).
The ldbl-128 / ldbl-128ibm implementation of lgammal converts (the
floor of minus) non-integer negative arguments to int to determine the
value of signgam. When those values are outside the range of int,
this produces spurious "invalid" exceptions and incorrect values of
signgam. This patch fixes this by instead determining signgam through
comparing half the integer in question to floor of half the integer.
Tested for mips64, x86_64 and x86.
[BZ #18952]
* sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
not convert non-integer negative arguments to int to determine the
value of signgam.
* math/auto-libm-test-in: Add more tests of lgamma.
* math/auto-libm-test-out: Regenerated.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ Version 2.23 16973, 17787, 17905, 18084, 18086, 18240, 18265, 18370, 18421, 18480, 18525, 18610, 18618, 18647, 18661, 18674, 18675, 18681, 18757, 18778, 18781, 18787, 18789, 18790, 18795, 18796, 18820, 18823, 18824, 18863, - 18870, 18873, 18887, 18921. + 18870, 18873, 18887, 18921, 18952. * The obsolete header <regexp.h> has been removed. Programs that require this header must be updated to use <regex.h> instead. |