This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/18857] New: [ldbl-128ibm] nearbyintl wrongly uses signaling comparisons
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 20 Aug 2015 17:07:45 +0000
- Subject: [Bug math/18857] New: [ldbl-128ibm] nearbyintl wrongly uses signaling comparisons
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18857
Bug ID: 18857
Summary: [ldbl-128ibm] nearbyintl wrongly uses signaling
comparisons
Product: glibc
Version: 2.22
Status: NEW
Severity: normal
Priority: P2
Component: math
Assignee: unassigned at sourceware dot org
Reporter: jsm28 at gcc dot gnu.org
Target Milestone: ---
The ldbl-128ibm implementation of nearbyintl wrongly uses signaling comparisons
such as "if (fabs (u.d[0].d) < TWO52)" on arguments that might be NaNs, when
"invalid" exceptions should not be raised; it should use unordered comparisons
such as isless instead. (For hard float, this issue may be hidden by
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58684>, powerpc GCC wrongly only
using unordered comparison instructions.)
--
You are receiving this mail because:
You are on the CC list for the bug.