[
https://issues.apache.org/jira/browse/STDCXX-819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Farid Zaripov updated STDCXX-819:
---------------------------------
Priority: Minor (was: Major)
Fix Version/s: (was: 4.2.1)
4.3
Lowered priority since now we don't using the sign of nan values in formatting
(see STDCXX-51) and deferred to the later release.
> [MSVC] numeric_limits::quiet_NaN() and signaling_NaN() bits differ from
> native STL
> ----------------------------------------------------------------------------------
>
> Key: STDCXX-819
> URL: https://issues.apache.org/jira/browse/STDCXX-819
> Project: C++ Standard Library
> Issue Type: Bug
> Components: 18. Language Support
> Affects Versions: 4.1.2, 4.1.3, 4.1.4, 4.2.0
> Environment: MSVC and ICC/Windows
> Reporter: Farid Zaripov
> Priority: Minor
> Fix For: 4.3
>
>
> The binary representation of NAN's in stdcxx:
> {noformat}
> #define _RWSTD_FLT_QNAN_BITS { 0, 0, '\xc0', '\xff' }
> #define _RWSTD_FLT_SNAN_BITS { '\x1', 0, '\x80', '\x7f' }
> #define _RWSTD_DBL_QNAN_BITS { 0, 0, 0, 0, 0, 0, '\xf8', '\xff' }
> #define _RWSTD_DBL_SNAN_BITS { '\x1', 0, 0, 0, 0, 0, '\xf0', '\x7f' }
> #define _RWSTD_LDBL_QNAN_BITS { 0, 0, 0, 0, 0, 0, '\xf8', '\xff' }
> #define _RWSTD_LDBL_SNAN_BITS { '\x1', 0, 0, 0, 0, 0, '\xf0', '\x7f' }
> {noformat}
> The binary representation of the same things in MSVC STL:
> {noformat}
> #define _RWSTD_FLT_QNAN_BITS { 0, 0, '\xc0', '\x7f' }
> #define _RWSTD_FLT_SNAN_BITS { '\x1', 0, '\xc0', '\x7f' }
> #define _RWSTD_DBL_QNAN_BITS { 0, 0, 0, 0, 0, 0, '\xf8', '\x7f' }
> #define _RWSTD_DBL_SNAN_BITS { '\x1', 0, 0, 0, 0, 0, '\xf8', '\x7f' }
> #define _RWSTD_LDBL_QNAN_BITS { 0, 0, 0, 0, 0, 0, '\xf8', '\x7f' }
> #define _RWSTD_LDBL_SNAN_BITS { '\x1', 0, 0, 0, 0, 0, '\xf8', '\x7f' }
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.