stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elemi...@apache.org
Subject svn commit: r643473 - /stdcxx/trunk/tests/support/18.numeric.special.float.cpp
Date Tue, 01 Apr 2008 16:40:55 GMT
Author: elemings
Date: Tue Apr  1 09:40:44 2008
New Revision: 643473

URL: http://svn.apache.org/viewvc?rev=643473&view=rev
Log:
Tue Apr  1 16:28:22 UTC 2008    Eric Lemings <eric.lemings@roguewave.com>

STDCXX-708 <https://issues.apache.org/jira/browse/STDCXX-708>
* tests/support/18.numeric.special.float.cpp: Change expected values for
std::numeric_limits<FloatT>::has_denorm() to std::denorm_present on all
HP-UX platforms (inc. PA-RISC and IPF) per comments recorded in the issue.


Modified:
    stdcxx/trunk/tests/support/18.numeric.special.float.cpp

Modified: stdcxx/trunk/tests/support/18.numeric.special.float.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/tests/support/18.numeric.special.float.cpp?rev=643473&r1=643472&r2=643473&view=diff
==============================================================================
--- stdcxx/trunk/tests/support/18.numeric.special.float.cpp (original)
+++ stdcxx/trunk/tests/support/18.numeric.special.float.cpp Tue Apr  1 09:40:44 2008
@@ -451,11 +451,9 @@
 
     static std::float_denorm_style has_denorm () {
 
-#if defined (_AIX)
-        return std::denorm_present;
-#elif defined (__hpux)
-        return std::denorm_indeterminate;
-#elif defined (__osf__)
+#if defined (_AIX) \
+    || defined (__hpux) \
+    || defined (__osf__)
         return std::denorm_present;
 #else
         return std::denorm_indeterminate;
@@ -720,11 +718,9 @@
 
 
     static std::float_denorm_style has_denorm () {
-#if defined (_AIX)
-        return std::denorm_present;
-#elif defined (__hpux)
-        return std::denorm_indeterminate;
-#elif defined (__osf__)
+#if defined (_AIX) \
+    || defined (__hpux) \
+    || defined (__osf__)
         return std::denorm_present;
 #else
         return std::denorm_indeterminate;
@@ -982,11 +978,9 @@
 
 
     static std::float_denorm_style has_denorm () {
-#if defined (_AIX)
-        return std::denorm_present;
-#elif defined (__hpux)
-        return std::denorm_indeterminate;
-#elif defined (__osf__)
+#if defined (_AIX) \
+    || defined (__hpux) \
+    || defined (__osf__)
         return std::denorm_present;
 #else
         return std::denorm_indeterminate;



Mime
View raw message