Return-Path: Delivered-To: apmail-stdcxx-commits-archive@www.apache.org Received: (qmail 39110 invoked from network); 23 Apr 2008 16:26:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Apr 2008 16:26:19 -0000 Received: (qmail 31840 invoked by uid 500); 23 Apr 2008 16:26:21 -0000 Delivered-To: apmail-stdcxx-commits-archive@stdcxx.apache.org Received: (qmail 31827 invoked by uid 500); 23 Apr 2008 16:26:20 -0000 Mailing-List: contact commits-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 commits@stdcxx.apache.org Received: (qmail 31816 invoked by uid 99); 23 Apr 2008 16:26:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2008 09:26:20 -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.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2008 16:25:36 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7CA4F1A9832; Wed, 23 Apr 2008 09:25:56 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r650933 - /stdcxx/trunk/src/num_put.cpp Date: Wed, 23 Apr 2008 16:25:56 -0000 To: commits@stdcxx.apache.org From: faridz@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080423162556.7CA4F1A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: faridz Date: Wed Apr 23 09:25:44 2008 New Revision: 650933 URL: http://svn.apache.org/viewvc?rev=650933&view=rev Log: 2008-04-23 Farid Zaripov STDCXX-880 * src/num_put.cpp [_RWSTD_DBL_SIZE == _RWSTD_LDBL_SIZE]: Call double type overload from long double type overload when sizeof (double) == sizeof (long double). Modified: stdcxx/trunk/src/num_put.cpp Modified: stdcxx/trunk/src/num_put.cpp URL: http://svn.apache.org/viewvc/stdcxx/trunk/src/num_put.cpp?rev=650933&r1=650932&r2=650933&view=diff ============================================================================== --- stdcxx/trunk/src/num_put.cpp (original) +++ stdcxx/trunk/src/num_put.cpp Wed Apr 23 09:25:44 2008 @@ -196,6 +196,22 @@ #ifndef _RWSTD_NO_LONG_DOUBLE +# if _RWSTD_DBL_SIZE == _RWSTD_LDBL_SIZE + +inline bool __rw_isfinite (long double x) { return __rw_isfinite (double (x)); } + +inline bool __rw_signbit (long double x) { return __rw_signbit (double (x)); } + +inline bool __rw_isinf (long double x) { return __rw_isinf (double (x)); } + +inline bool __rw_isnan (long double x) { return __rw_isnan (double (x)); } + +inline bool __rw_isqnan (long double x) { return __rw_isqnan (double (x)); } + +inline bool __rw_issnan (long double x) { return __rw_issnan (double (x)); } + +# else // _RWSTD_DBL_SIZE != _RWSTD_LDBL_SIZE + inline bool __rw_isfinite (long double) { return true; } inline bool __rw_signbit (long double) { return false; } @@ -207,6 +223,8 @@ inline bool __rw_isqnan (long double) { return false; } inline bool __rw_issnan (long double) { return false; } + +# endif // _RWSTD_DBL_SIZE == _RWSTD_LDBL_SIZE #endif // _RWSTD_NO_LONG_DOUBLE