diff options
author | Joseph Myers <joseph@codesourcery.com> | 2014-01-06 18:20:20 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2014-01-06 18:20:20 +0000 |
commit | eb3fc44b56e5e780be5e2830c72d20b9e74fef8a (patch) | |
tree | 77225ddae4384596a6c9e46ae8340ee9e2698032 /termios/speed.c | |
parent | 5fd3eccbea76216091e147ebd84ed64a839f76eb (diff) | |
download | glibc-eb3fc44b56e5e780be5e2830c72d20b9e74fef8a.tar.gz glibc-eb3fc44b56e5e780be5e2830c72d20b9e74fef8a.tar.xz glibc-eb3fc44b56e5e780be5e2830c72d20b9e74fef8a.zip |
Fix ldbl-128 / ldbl-128ibm lgammal spurious underflow (bug 16400).
This patch fixes bug 16400, spurious underflow exceptions for ldbl-128 / ldbl-128ibm lgammal with small positive arguments, by just using -__logl (x) as the result in the problem cases (similar to the previous fix for problems with small negative arguments). Tested powerpc32, and also tested on mips64 that this does not require ulps regeneration for the ldbl-128 case. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Return -__logl (x) for small positive arguments without evaluating a polynomial.
Diffstat (limited to 'termios/speed.c')
0 files changed, 0 insertions, 0 deletions