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/22693] New: [ldbl-128ibm] log1pl (-qNaN) spurious "invalid" exception


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.

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