This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/15336] New: double remainder returning sNaN instead of qNaN for HIGH_ORDER_BIT_IS_SET_FOR_SNAN architectures.
- From: "tschwinge at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 03 Apr 2013 19:30:57 +0000
- Subject: [Bug math/15336] New: double remainder returning sNaN instead of qNaN for HIGH_ORDER_BIT_IS_SET_FOR_SNAN architectures.
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15336
Bug #: 15336
Summary: double remainder returning sNaN instead of qNaN for
HIGH_ORDER_BIT_IS_SET_FOR_SNAN architectures.
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: math
AssignedTo: tschwinge@sourceware.org
ReportedBy: tschwinge@sourceware.org
Classification: Unclassified
Due to hard-coding bit patterns for qNaN values, but not taking into
account that for a few architectures the meaning of the quiet/signaling
bit is inverse to IEEE 754-2008 (as well as common practice for IEEE
754-1985) (HIGH_ORDER_BIT_IS_SET_FOR_SNAN is defined), the double
remainder function actually returns a sNaN on such architectures when
meaning to return a qNaN.
--
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.