public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/15336] New: double remainder returning sNaN instead of qNaN for HIGH_ORDER_BIT_IS_SET_FOR_SNAN architectures.
@ 2013-04-03 19:31 tschwinge at sourceware dot org
  2013-04-05 21:02 ` [Bug math/15336] " tschwinge at sourceware dot org
  2014-06-13 18:31 ` fweimer at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: tschwinge at sourceware dot org @ 2013-04-03 19:31 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug math/15336] double remainder returning sNaN instead of qNaN for HIGH_ORDER_BIT_IS_SET_FOR_SNAN architectures.
  2013-04-03 19:31 [Bug math/15336] New: double remainder returning sNaN instead of qNaN for HIGH_ORDER_BIT_IS_SET_FOR_SNAN architectures tschwinge at sourceware dot org
@ 2013-04-05 21:02 ` tschwinge at sourceware dot org
  2014-06-13 18:31 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: tschwinge at sourceware dot org @ 2013-04-05 21:02 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15336

Thomas Schwinge <tschwinge at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |2.18

--- Comment #1 from Thomas Schwinge <tschwinge at sourceware dot org> 2013-04-05 21:02:36 UTC ---
commit a1cbf437a53b24f2ff1f6af42028b607f6aa279d
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Thu Apr 4 17:35:12 2013 +0200

    [BZ #14686, #15336] Fix standard compliance.  Don't use hard-coded qNaN
values.

-- 
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] 3+ messages in thread

* [Bug math/15336] double remainder returning sNaN instead of qNaN for HIGH_ORDER_BIT_IS_SET_FOR_SNAN architectures.
  2013-04-03 19:31 [Bug math/15336] New: double remainder returning sNaN instead of qNaN for HIGH_ORDER_BIT_IS_SET_FOR_SNAN architectures tschwinge at sourceware dot org
  2013-04-05 21:02 ` [Bug math/15336] " tschwinge at sourceware dot org
@ 2014-06-13 18:31 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 18:31 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=15336

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] 3+ messages in thread

end of thread, other threads:[~2014-06-13 18:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-03 19:31 [Bug math/15336] New: double remainder returning sNaN instead of qNaN for HIGH_ORDER_BIT_IS_SET_FOR_SNAN architectures tschwinge at sourceware dot org
2013-04-05 21:02 ` [Bug math/15336] " tschwinge at sourceware dot org
2014-06-13 18:31 ` 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).