You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2005/10/13 21:44:02 UTC
cvs commit: xml-xalan/c/src/xalanc/PlatformSupport DoubleSupport.cpp
dbertoni 2005/10/13 12:44:02
Modified: c/src/xalanc/PlatformSupport DoubleSupport.cpp
Log:
Fix for XALANC-569.
Revision Changes Path
1.13 +2 -6 xml-xalan/c/src/xalanc/PlatformSupport/DoubleSupport.cpp
Index: DoubleSupport.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/xalanc/PlatformSupport/DoubleSupport.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- DoubleSupport.cpp 7 Oct 2005 22:40:28 -0000 1.12
+++ DoubleSupport.cpp 13 Oct 2005 19:44:02 -0000 1.13
@@ -69,12 +69,8 @@
#else
s_NaN.d = sqrt(-2.01);
#endif
-#else
- #if defined(XALAN_NO_STD_NAMESPACE)
- XALAN_STATIC_ASSERT(numeric_limits<double>::is_iec559);
- #else
- XALAN_STATIC_ASSERT(std::numeric_limits<double>::is_iec559);
- #endif
+#elif !defined(XALAN_NO_STD_NAMESPACE)
+ XALAN_STATIC_ASSERT(std::numeric_limits<double>::has_quiet_NaN);
#endif
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org