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/19085] New: ldbl-128 lrintl, lroundl missing exceptions for 32-bit long


https://sourceware.org/bugzilla/show_bug.cgi?id=19085

            Bug ID: 19085
           Summary: ldbl-128 lrintl, lroundl missing exceptions for 32-bit
                    long
           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-128 implementations of lrintl and lroundl miss "invalid" exceptions on
systems with 32-bit long for arguments that overflow long but have exponent
below 48.  E.g., for MIPS64 n32:

Failure: lrint (0x1p31): Exception "Invalid operation" not set
Failure: lrint (0x1p32): Exception "Invalid operation" not set
Failure: lrint (0x1p33): Exception "Invalid operation" not set
Failure: lrint (-0x1p32): Exception "Invalid operation" not set
Failure: lrint (-0x1p33): Exception "Invalid operation" not set
Failure: lrint_downward (0x1p31): Exception "Invalid operation" not set
Failure: lrint_downward (0x1p32): Exception "Invalid operation" not set
Failure: lrint_downward (0x1p33): Exception "Invalid operation" not set
Failure: lrint_downward (-0x1p32): Exception "Invalid operation" not set
Failure: lrint_downward (-0x1p33): Exception "Invalid operation" not set
Failure: lrint_towardzero (0x1p31): Exception "Invalid operation" not set
Failure: lrint_towardzero (0x1p32): Exception "Invalid operation" not set
Failure: lrint_towardzero (0x1p33): Exception "Invalid operation" not set
Failure: lrint_towardzero (-0x1p32): Exception "Invalid operation" not set
Failure: lrint_towardzero (-0x1p33): Exception "Invalid operation" not set
Failure: lrint_upward (0x1p31): Exception "Invalid operation" not set
Failure: lrint_upward (0x1p32): Exception "Invalid operation" not set
Failure: lrint_upward (0x1p33): Exception "Invalid operation" not set
Failure: lrint_upward (-0x1p32): Exception "Invalid operation" not set
Failure: lrint_upward (-0x1p33): Exception "Invalid operation" not set
Failure: lround (0x1p31): Exception "Invalid operation" not set
Failure: lround (0x1p32): Exception "Invalid operation" not set
Failure: lround (0x1p33): Exception "Invalid operation" not set
Failure: lround (-0x1p32): Exception "Invalid operation" not set
Failure: lround (-0x1p33): Exception "Invalid operation" not set
Failure: lround_downward (0x1p31): Exception "Invalid operation" not set
Failure: lround_downward (0x1p32): Exception "Invalid operation" not set
Failure: lround_downward (0x1p33): Exception "Invalid operation" not set
Failure: lround_downward (-0x1p32): Exception "Invalid operation" not set
Failure: lround_downward (-0x1p33): Exception "Invalid operation" not set
Failure: lround_towardzero (0x1p31): Exception "Invalid operation" not set
Failure: lround_towardzero (0x1p32): Exception "Invalid operation" not set
Failure: lround_towardzero (0x1p33): Exception "Invalid operation" not set
Failure: lround_towardzero (-0x1p32): Exception "Invalid operation" not set
Failure: lround_towardzero (-0x1p33): Exception "Invalid operation" not set
Failure: lround_upward (0x1p31): Exception "Invalid operation" not set
Failure: lround_upward (0x1p32): Exception "Invalid operation" not set
Failure: lround_upward (0x1p33): Exception "Invalid operation" not set
Failure: lround_upward (-0x1p32): Exception "Invalid operation" not set
Failure: lround_upward (-0x1p33): Exception "Invalid operation" not 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]