Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 20291 invoked from network); 14 Apr 2008 10:44:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Apr 2008 10:44:07 -0000 Received: (qmail 35124 invoked by uid 500); 14 Apr 2008 10:44:08 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 35106 invoked by uid 500); 14 Apr 2008 10:44:08 -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 35097 invoked by uid 99); 14 Apr 2008 10:44:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2008 03:44:08 -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; Mon, 14 Apr 2008 10:43:24 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1F553234C0C4 for ; Mon, 14 Apr 2008 03:41:06 -0700 (PDT) Message-ID: <1450284624.1208169666123.JavaMail.jira@brutus> Date: Mon, 14 Apr 2008 03:41:06 -0700 (PDT) From: "Farid Zaripov (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Created: (STDCXX-862) [Sun C++ 5.9] 0.char test failed due to different binary representation of "long double ld1 = 0" and "long double ld2 = 0." MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [Sun C++ 5.9] 0.char test failed due to different binary representation of "long double ld1 = 0" and "long double ld2 = 0." --------------------------------------------------------------------------------------------------------------------------- Key: STDCXX-862 URL: https://issues.apache.org/jira/browse/STDCXX-862 Project: C++ Standard Library Issue Type: Bug Components: Tests Affects Versions: 4.2.0 Environment: Linux Reporter: Farid Zaripov Priority: Trivial Fix For: 4.2.1 {noformat} $ cat test.cpp && CC test.cpp -o test && ./test #include #include int main () { long double ld1 = 0; long double ld2 = 0.; assert (ld1 == ld2); assert (0 == memcmp (&ld1, &ld2, sizeof (ld1))); return 0; } test: test.cpp:10: Assertion `0 == memcmp (&ld1, &ld2, sizeof (ld1))' failed. Aborted {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.