public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/15479] New: ceil, floor and round and trunc raise inexact exception
@ 2013-05-16 20:42 jsm28 at gcc dot gnu.org
2014-06-13 17:45 ` [Bug math/15479] " fweimer at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2013-05-16 20:42 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=15479
Bug #: 15479
Summary: ceil, floor and round and trunc raise inexact
exception
Product: glibc
Version: 2.17
Status: NEW
Severity: normal
Priority: P2
Component: math
AssignedTo: unassigned@sourceware.org
ReportedBy: jsm28@gcc.gnu.org
Classification: Unclassified
At least on x86_64, at least the float versions of ceil, floor and round raise
the "inexact" exception. Although permitted by C11, the proposed C bindings to
IEEE 754-2008 remove the permission to raise this exception (these are
functions with fully-defined, always-exact floating-point results that do not
depend on the current rounding mode), and the glibc versions should also stop
raising it (which for the generic C versions looks like it will just be a
matter of removing code that's there for the sole purpose of raising this
exception).
On x86_64, trunc has the same issue for long double only, not float or double.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug math/15479] ceil, floor and round and trunc raise inexact exception
2013-05-16 20:42 [Bug math/15479] New: ceil, floor and round and trunc raise inexact exception jsm28 at gcc dot gnu.org
@ 2014-06-13 17:45 ` fweimer at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 17:45 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=15479
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-13 17:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-16 20:42 [Bug math/15479] New: ceil, floor and round and trunc raise inexact exception jsm28 at gcc dot gnu.org
2014-06-13 17:45 ` [Bug math/15479] " fweimer at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).