Update of /cvsroot/boost/boost/libs/math/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv490/boost/libs/math/test
Modified Files:
common_factor_test.cpp
Log Message:
Made the GCD specializations for '(unsigned) long long' and '(unsigned)
__int64' mutually exclusive, following the lead of <boost/cstdint.hpp>.
Index: common_factor_test.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/math/test/common_factor_test.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- common_factor_test.cpp 5 Nov 2006 07:10:42 -0000 1.7
+++ common_factor_test.cpp 10 Nov 2006 23:15:49 -0000 1.8
@@ -8,6 +8,7 @@
// See http://www.boost.org for most recent version including documentation.
// Revision History
+// 10 Nov 2006 Make long long and __int64 mutually exclusive (Daryle Walker)
// 04 Nov 2006 Use more built-in numeric types, binary-GCD (Daryle Walker)
// 03 Nov 2006 Use custom numeric types (Daryle Walker)
// 02 Nov 2006 Change to Boost.Test's unit test system (Daryle Walker)
@@ -15,7 +16,7 @@
#define BOOST_TEST_MAIN "Boost.Math GCD & LCM unit tests"
-#include <boost/config.hpp> // for BOOST_MSVC
+#include <boost/config.hpp> // for BOOST_MSVC, etc.
#include <boost/math/common_factor.hpp> // for boost::math::gcd, etc.
#include <boost/mpl/list.hpp> // for boost::mpl::list
#include <boost/operators.hpp>
@@ -108,8 +109,7 @@
typedef ::boost::mpl::list<signed char, short, int, long,
#ifdef BOOST_HAS_LONG_LONG
long long,
-#endif
-#ifdef BOOST_HAS_MS_INT64
+#elif defined(BOOST_HAS_MS_INT64)
__int64,
#endif
MyInt1> signed_test_types;
@@ -117,8 +117,7 @@
unsigned long,
#ifdef BOOST_HAS_LONG_LONG
unsigned long long,
-#endif
-#ifdef BOOST_HAS_MS_INT64
+#elif defined(BOOST_HAS_MS_INT64)
unsigned __int64,
#endif
MyUnsigned1, MyUnsigned2> unsigned_test_types;
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
|