This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/19486] New: S390: Math tests fail with "Exception Inexact set".
- From: "stli at linux dot vnet.ibm.com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 18 Jan 2016 11:31:29 +0000
- Subject: [Bug math/19486] New: S390: Math tests fail with "Exception Inexact set".
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=19486
Bug ID: 19486
Summary: S390: Math tests fail with "Exception Inexact set".
Product: glibc
Version: 2.22
Status: NEW
Severity: normal
Priority: P2
Component: math
Assignee: unassigned at sourceware dot org
Reporter: stli at linux dot vnet.ibm.com
Target Milestone: ---
I get some math test-failures on s390 for float/double/ldouble for
various lrint/lround functions like:
lrint (0x1p64): Exception "Inexact" set
lrint (-0x1p64): Exception "Inexact" set
llrint (0x1p64): Exception "Inexact" set
llrint (-0x1p64): Exception "Inexact" set
lround (0x1p64): Exception "Inexact" set
lround (-0x1p64): Exception "Inexact" set
llround (0x1p64): Exception "Inexact" set
llround (-0x1p64): Exception "Inexact" set
...
These failures occur in downward, towardzero and upward rounding modes, too.
GCC emits "convert to fixed" instructions for casting floating point
values to integer values. These instructions raise invalid and inexact
exceptions if the floating point value exceeds the integer type ranges.
--
You are receiving this mail because:
You are on the CC list for the bug.