Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74579 - in sandbox/big_number/libs/multiprecision: . config doc test
From: john_at_[hidden]
Date: 2011-09-26 13:00:45


Author: johnmaddock
Date: 2011-09-26 13:00:44 EDT (Mon, 26 Sep 2011)
New Revision: 74579
URL: http://svn.boost.org/trac/boost/changeset/74579

Log:
Giant file and directory rename: changed directory name from math to multiprecision and updated code to match.
Added:
   sandbox/big_number/libs/multiprecision/
      - copied from r74479, /sandbox/big_number/libs/math/
   sandbox/big_number/libs/multiprecision/Jamroot.jam
      - copied unchanged from r73943, /sandbox/big_number/libs/math/Jamroot.jam
   sandbox/big_number/libs/multiprecision/boost-build.jam
      - copied unchanged from r73943, /sandbox/big_number/libs/math/boost-build.jam
   sandbox/big_number/libs/multiprecision/config/
      - copied from r74057, /sandbox/big_number/libs/math/config/
   sandbox/big_number/libs/multiprecision/doc/
      - copied from r73943, /sandbox/big_number/libs/math/doc/
   sandbox/big_number/libs/multiprecision/test/Jamfile.v2
      - copied unchanged from r74559, /sandbox/big_number/libs/math/test/Jamfile.v2
   sandbox/big_number/libs/multiprecision/test/big_number_concept_check.cpp
      - copied, changed from r74545, /sandbox/big_number/libs/math/test/big_number_concept_check.cpp
   sandbox/big_number/libs/multiprecision/test/linpack-benchmark.cpp
      - copied, changed from r74004, /sandbox/big_number/libs/math/test/linpack-benchmark.cpp
   sandbox/big_number/libs/multiprecision/test/test_arithmetic.cpp
      - copied, changed from r74562, /sandbox/big_number/libs/math/test/test_arithmetic.cpp
   sandbox/big_number/libs/multiprecision/test/test_numeric_limits.cpp
      - copied, changed from r74559, /sandbox/big_number/libs/math/test/test_numeric_limits.cpp
Text files modified:
   sandbox/big_number/libs/multiprecision/test/big_number_concept_check.cpp | 8 ++++----
   sandbox/big_number/libs/multiprecision/test/linpack-benchmark.cpp | 12 ++++++------
   sandbox/big_number/libs/multiprecision/test/test_arithmetic.cpp | 10 +++++-----
   sandbox/big_number/libs/multiprecision/test/test_numeric_limits.cpp | 10 +++++-----
   4 files changed, 20 insertions(+), 20 deletions(-)

Copied: sandbox/big_number/libs/multiprecision/test/big_number_concept_check.cpp (from r74545, /sandbox/big_number/libs/math/test/big_number_concept_check.cpp)
==============================================================================
--- /sandbox/big_number/libs/math/test/big_number_concept_check.cpp (original)
+++ sandbox/big_number/libs/multiprecision/test/big_number_concept_check.cpp 2011-09-26 13:00:44 EDT (Mon, 26 Sep 2011)
@@ -39,16 +39,16 @@
 #endif
 
 #if defined(TEST_MPF50) || defined(TEST_MPF) || defined(TEST_MPZ)
-#include <boost/math/big_number/gmp.hpp>
+#include <boost/multiprecision/gmp.hpp>
 #endif
 #ifdef TEST_BACKEND
-#include <boost/math/concepts/big_number_architypes.hpp>
+#include <boost/multiprecision/concepts/big_number_architypes.hpp>
 #endif
 #ifdef TEST_E_FLOAT
-#include <boost/math/big_number/e_float.hpp>
+#include <boost/multiprecision/e_float.hpp>
 #endif
 #if defined(TEST_MPFR) || defined(TEST_MPFR_50)
-#include <boost/math/big_number/mpfr.hpp>
+#include <boost/multiprecision/mpfr.hpp>
 #endif
 
 #include <boost/math/concepts/real_type_concept.hpp>

Copied: sandbox/big_number/libs/multiprecision/test/linpack-benchmark.cpp (from r74004, /sandbox/big_number/libs/math/test/linpack-benchmark.cpp)
==============================================================================
--- /sandbox/big_number/libs/math/test/linpack-benchmark.cpp (original)
+++ sandbox/big_number/libs/multiprecision/test/linpack-benchmark.cpp 2011-09-26 13:00:44 EDT (Mon, 26 Sep 2011)
@@ -20,10 +20,10 @@
 #include <cmath>
 
 #ifdef TEST_MPF_100
-#include <boost/math/big_number/gmp.hpp>
+#include <boost/multiprecision/gmp.hpp>
 typedef boost::math::mpf_real_100 real_type;
 #elif defined(TEST_MPFR_100)
-#include <boost/math/big_number/mpfr.hpp>
+#include <boost/multiprecision/mpfr.hpp>
 typedef boost::math::mpfr_real_100 real_type;
 #elif defined(TEST_GMPXX)
 #include <gmpxx.h>
@@ -38,7 +38,7 @@
 typedef ::efx::e_float real_type;
 using ef::abs;
 #elif defined(TEST_E_FLOAT_BN)
-#include <boost/math/big_number/e_float.hpp>
+#include <boost/multiprecision/e_float.hpp>
 typedef boost::math::e_float real_type;
 #else
 typedef double real_type;
@@ -99,9 +99,9 @@
 extern "C" int MAIN__()
 {
 #ifdef TEST_MPF_100
- std::cout << "Testing big_number<mpf_real<100> >" << std::endl;
+ std::cout << "Testing mp_number<mpf_real<100> >" << std::endl;
 #elif defined(TEST_MPFR_100)
- std::cout << "Testing big_number<mpf_real<100> >" << std::endl;
+ std::cout << "Testing mp_number<mpf_real<100> >" << std::endl;
 #elif defined(TEST_GMPXX)
    std::cout << "Testing mpf_class at 100 decimal degits" << std::endl;
    mpf_set_default_prec(((100 + 1) * 1000L) / 301L);
@@ -1229,7 +1229,7 @@
 266.45 0.798 267.24 2.5021 0.79933 4772.2
 
 
-big_number<gmp_real<100> >:
+mp_number<gmp_real<100> >:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
      norm. resid resid machep x(1) x(n)

Copied: sandbox/big_number/libs/multiprecision/test/test_arithmetic.cpp (from r74562, /sandbox/big_number/libs/math/test/test_arithmetic.cpp)
==============================================================================
--- /sandbox/big_number/libs/math/test/test_arithmetic.cpp (original)
+++ sandbox/big_number/libs/multiprecision/test/test_arithmetic.cpp 2011-09-26 13:00:44 EDT (Mon, 26 Sep 2011)
@@ -26,16 +26,16 @@
 #endif
 
 #if defined(TEST_MPF50) || defined(TEST_MPF) || defined(TEST_MPZ) || defined(TEST_MPQ)
-#include <boost/math/big_number/gmp.hpp>
+#include <boost/multiprecision/gmp.hpp>
 #endif
 #ifdef TEST_BACKEND
-#include <boost/math/concepts/big_number_architypes.hpp>
+#include <boost/multiprecision/concepts/big_number_architypes.hpp>
 #endif
 #ifdef TEST_E_FLOAT
-#include <boost/math/big_number/e_float.hpp>
+#include <boost/multiprecision/e_float.hpp>
 #endif
 #if defined(TEST_MPFR) || defined(TEST_MPFR_50)
-#include <boost/math/big_number/mpfr.hpp>
+#include <boost/multiprecision/mpfr.hpp>
 #endif
 
 #define BOOST_TEST_THROW(x, EX)\
@@ -859,7 +859,7 @@
 int main()
 {
 #ifdef TEST_BACKEND
- test<boost::math::big_number<boost::math::concepts::big_number_backend_real_architype> >();
+ test<boost::math::mp_number<boost::math::concepts::big_number_backend_real_architype> >();
 #endif
 #ifdef TEST_MPF50
    test<boost::math::mpf_real_50>();

Copied: sandbox/big_number/libs/multiprecision/test/test_numeric_limits.cpp (from r74559, /sandbox/big_number/libs/math/test/test_numeric_limits.cpp)
==============================================================================
--- /sandbox/big_number/libs/math/test/test_numeric_limits.cpp (original)
+++ sandbox/big_number/libs/multiprecision/test/test_numeric_limits.cpp 2011-09-26 13:00:44 EDT (Mon, 26 Sep 2011)
@@ -25,16 +25,16 @@
 #endif
 
 #if defined(TEST_MPF50) || defined(TEST_MPF) || defined(TEST_MPZ) || defined(TEST_MPQ)
-#include <boost/math/big_number/gmp.hpp>
+#include <boost/multiprecision/gmp.hpp>
 #endif
 #ifdef TEST_BACKEND
-#include <boost/math/concepts/big_number_architypes.hpp>
+#include <boost/multiprecision/concepts/big_number_architypes.hpp>
 #endif
 #ifdef TEST_E_FLOAT
-#include <boost/math/big_number/e_float.hpp>
+#include <boost/multiprecision/e_float.hpp>
 #endif
 #if defined(TEST_MPFR) || defined(TEST_MPFR_50)
-#include <boost/math/big_number/mpfr.hpp>
+#include <boost/multiprecision/mpfr.hpp>
 #endif
 
 #define PRINT(x)\
@@ -138,7 +138,7 @@
 int main()
 {
 #ifdef TEST_BACKEND
- test<boost::math::big_number<boost::math::concepts::big_number_backend_real_architype> >();
+ test<boost::math::mp_number<boost::math::concepts::big_number_backend_real_architype> >();
 #endif
 #ifdef TEST_MPF50
    test<boost::math::mpf_real_50>();


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk