Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 31507 invoked from network); 29 May 2008 21:24:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 May 2008 21:24:09 -0000 Received: (qmail 26915 invoked by uid 500); 29 May 2008 21:24:12 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 26895 invoked by uid 500); 29 May 2008 21:24:12 -0000 Mailing-List: contact issues-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list issues@stdcxx.apache.org Received: (qmail 26884 invoked by uid 99); 29 May 2008 21:24:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 May 2008 14:24:12 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 May 2008 21:23:25 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 76213234C12F for ; Thu, 29 May 2008 14:23:46 -0700 (PDT) Message-ID: <28559582.1212096226482.JavaMail.jira@brutus> Date: Thu, 29 May 2008 14:23:46 -0700 (PDT) From: "Martin Sebor (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Updated: (STDCXX-819) [MSVC] numeric_limits::quiet_NaN() and signaling_NaN() bits differ from native STL In-Reply-To: <1261689043.1207073184636.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor updated STDCXX-819: -------------------------------- Fix Version/s: (was: 4.3) 4.2.2 Remaining Estimate: 4h Original Estimate: 4h Rescheduled for 4.2.2. > [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 > Assignee: Martin Sebor > Priority: Minor > Fix For: 4.2.2 > > Original Estimate: 4h > Remaining Estimate: 4h > > 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.