This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/15335] New: double pow returning sNaN instead of qNaN for HIGH_ORDER_BIT_IS_SET_FOR_SNAN architectures.


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

             Bug #: 15335
           Summary: double pow 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]