This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/18857] New: [ldbl-128ibm] nearbyintl wrongly uses signaling comparisons


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]