[Bug math/19125] New: [powerpc32] llroundf, llround incorrect exceptions
jsm28 at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Tue Oct 13 17:04:00 GMT 2015
https://sourceware.org/bugzilla/show_bug.cgi?id=19125
Bug ID: 19125
Summary: [powerpc32] llroundf, llround incorrect exceptions
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: ---
Host: powerpc*-*-*
The powerpc32 implementations of llroundf and llround produce spurious and
missing exceptions (some arising from such exceptions from conversions to long
long, some present even when fctidz is used). E.g., for float:
Failure: llround (qNaN): Exception "Inexact" set
Failure: llround (-qNaN): Exception "Inexact" set
Failure: llround (max_value): Exception "Inexact" set
Failure: llround (-max_value): Exception "Inexact" set
Failure: llround (0x1p31): Exception "Inexact" set
Failure: llround (0x1p63): Exception "Invalid operation" not set
Failure: llround (0x1p64): Exception "Inexact" set
Failure: llround (0x1p65): Exception "Inexact" set
Failure: llround (-0x1p31): Exception "Inexact" set
Failure: llround (-0x1p64): Exception "Inexact" set
Failure: llround (-0x1p65): Exception "Inexact" set
Failure: llround (0x7fffff80p0): Exception "Inexact" set
Failure: llround (-0x80000100p0): Exception "Inexact" set
Failure: llround (-0x8000010000000000p0): Exception "Invalid operation" not set
Failure: llround (2097151.0): Exception "Inexact" set
Failure: llround (8388608.0): Exception "Inexact" set
Failure: llround (16777216.0): Exception "Inexact" set
Failure: llround (4503601774854144.0): Exception "Inexact" set
Failure: llround (0x1.fffffep+23): Exception "Inexact" set
Failure: llround (-0x1.fffffep+23): Exception "Inexact" set
Failure: llround (0x1.000002p+23): Exception "Inexact" set
Failure: llround (-0x1.000002p+23): Exception "Inexact" set
Failure: llround (0x1.fffffep+23): Exception "Inexact" set
Failure: llround (-0x1.fffffep+23): Exception "Inexact" set
plus similar in other rounding modes.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list