diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-06-24 15:12:03 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-06-24 15:12:03 +0000 |
commit | 8475ab16848cf2adb6ce3446749c2f1d10233286 (patch) | |
tree | ce32b378b0e67c8d52f6a6a63347ae4b3711d159 /math | |
parent | 36870482d2a33e3b703bd74b52063594389e827a (diff) | |
download | glibc-8475ab16848cf2adb6ce3446749c2f1d10233286.tar glibc-8475ab16848cf2adb6ce3446749c2f1d10233286.tar.gz glibc-8475ab16848cf2adb6ce3446749c2f1d10233286.tar.bz2 glibc-8475ab16848cf2adb6ce3446749c2f1d10233286.zip |
Fix ldbl-128 expl missing underflows (bug 18586).
Similar to various other bugs in this area, the ldbl-128 expl
implementation does not raise the underflow exception for all
subnormal results, if the scaling down is exact although the actual
result is inexact. This patch fixes this by forcing the exception in
this case (the tests that failed before and pass after the test are
already in the testsuite).
Tested for mips64.
[BZ #18586]
* sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
underflow exception for small results.
Diffstat (limited to 'math')
0 files changed, 0 insertions, 0 deletions