This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/22693] New: [ldbl-128ibm] log1pl (-qNaN) spurious "invalid" exception
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 10 Jan 2018 17:29:21 +0000
- Subject: [Bug math/22693] New: [ldbl-128ibm] log1pl (-qNaN) spurious "invalid" exception
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=22693
Bug ID: 22693
Summary: [ldbl-128ibm] log1pl (-qNaN) spurious "invalid"
exception
Product: glibc
Version: 2.26
Status: NEW
Severity: normal
Priority: P2
Component: math
Assignee: unassigned at sourceware dot org
Reporter: jsm28 at gcc dot gnu.org
Target Milestone: ---
Host: powerpc*-*-*
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).
Failure: log1p (-qNaN): Exception "Invalid operation" set
Failure: log1p_downward (-qNaN): Exception "Invalid operation" set
Failure: log1p_towardzero (-qNaN): Exception "Invalid operation" set
Failure: log1p_upward (-qNaN): Exception "Invalid operation" set
--
You are receiving this mail because:
You are on the CC list for the bug.