logo       

CVS: boost/libs/math/test common_factor_test.cpp, 1.7, 1.8: msg#00721

Subject: CVS: boost/libs/math/test common_factor_test.cpp, 1.7, 1.8
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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe