diff options
author | Joseph Myers <joseph@codesourcery.com> | 2018-01-10 17:59:01 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2018-01-10 17:59:01 +0000 |
commit | b303185df9b4f3d097956fe566a32aed4f85b127 (patch) | |
tree | 27e9766663018a3a577bceafea04a9b17d0cbe6d /iconvdata/ibm1149.h | |
parent | ee61d0285029d35ebb03bdd548ccce948ebfaea5 (diff) | |
download | glibc-b303185df9b4f3d097956fe566a32aed4f85b127.tar glibc-b303185df9b4f3d097956fe566a32aed4f85b127.tar.gz glibc-b303185df9b4f3d097956fe566a32aed4f85b127.tar.bz2 glibc-b303185df9b4f3d097956fe566a32aed4f85b127.zip |
Fix ldbl-128ibm log1pl (-qNaN) spurious "invalid" exception (bug 22693).
The ldbl-128ibm implementation of log1pl does ordered comparisons on a
negative qNaN argument, so resulting in spurious "invalid" exceptions
(for soft-float powerpc; hard-float only avoids this because of GCC
bug 58684 meaning ordered comparison instructions never get
generated). This patch fixes this by arranging for the test for NaN
or infinity arguments to handle negative arguments as well.
Tested for powerpc (soft float).
[BZ #22693]
* sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
negative arguments in test for NaN or infinity argument.
Diffstat (limited to 'iconvdata/ibm1149.h')
0 files changed, 0 insertions, 0 deletions