This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/19238] New: [powerpc] round, roundf spurious "inexact" for integer arguments
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 12 Nov 2015 18:34:35 +0000
- Subject: [Bug math/19238] New: [powerpc] round, roundf spurious "inexact" for integer arguments
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=19238
Bug ID: 19238
Summary: [powerpc] round, roundf spurious "inexact" for integer
arguments
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 powerpc hard-float round and roundf functions, both 32-bit and 64-bit,
raise spurious "inexact" exceptions for integer arguments from adding 0.5 and
rounding to integer toward zero. (This bug is only about the exceptions for
integer arguments, which are not permitted by C99/C11; noninteger arguments
also should not raise "inexact" as per TS 18661-1, but that's bug 15479.)
--
You are receiving this mail because:
You are on the CC list for the bug.