Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74670 - in sandbox/big_number: boost/multiprecision/concepts boost/multiprecision/detail libs/multiprecision/test
From: john_at_[hidden]
Date: 2011-10-03 13:03:33


Author: johnmaddock
Date: 2011-10-03 13:03:28 EDT (Mon, 03 Oct 2011)
New Revision: 74670
URL: http://svn.boost.org/trac/boost/changeset/74670

Log:
More file renames to remove "big_" prefixes.
Added:
   sandbox/big_number/boost/multiprecision/concepts/mp_number_architypes.hpp
      - copied unchanged from r74669, /sandbox/big_number/boost/multiprecision/concepts/big_number_architypes.hpp
   sandbox/big_number/boost/multiprecision/detail/mp_number_base.hpp
      - copied unchanged from r74669, /sandbox/big_number/boost/multiprecision/detail/big_number_base.hpp
   sandbox/big_number/libs/multiprecision/test/mp_number_concept_check.cpp
      - copied, changed from r74669, /sandbox/big_number/libs/multiprecision/test/big_number_concept_check.cpp
Removed:
   sandbox/big_number/boost/multiprecision/concepts/big_number_architypes.hpp
   sandbox/big_number/boost/multiprecision/detail/big_number_base.hpp
   sandbox/big_number/libs/multiprecision/test/big_number_concept_check.cpp
Text files modified:
   sandbox/big_number/boost/multiprecision/detail/default_ops.hpp | 2 +-
   sandbox/big_number/libs/multiprecision/test/Jamfile.v2 | 2 +-
   sandbox/big_number/libs/multiprecision/test/mp_number_concept_check.cpp | 2 +-
   sandbox/big_number/libs/multiprecision/test/test_arithmetic.cpp | 2 +-
   sandbox/big_number/libs/multiprecision/test/test_exp.cpp | 2 +-
   sandbox/big_number/libs/multiprecision/test/test_numeric_limits.cpp | 2 +-
   6 files changed, 6 insertions(+), 6 deletions(-)

Deleted: sandbox/big_number/boost/multiprecision/concepts/big_number_architypes.hpp
==============================================================================
--- sandbox/big_number/boost/multiprecision/concepts/big_number_architypes.hpp 2011-10-03 13:03:28 EDT (Mon, 03 Oct 2011)
+++ (empty file)
@@ -1,306 +0,0 @@
-///////////////////////////////////////////////////////////////
-// Copyright 2011 John Maddock. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_
-
-#ifndef BOOST_MATH_CONCEPTS_ER_HPP
-#define BOOST_MATH_CONCEPTS_ER_HPP
-
-#include <iostream>
-#include <iomanip>
-#include <cmath>
-#include <boost/cstdint.hpp>
-#include <boost/lexical_cast.hpp>
-#include <boost/multiprecision/mp_number.hpp>
-#include <boost/math/special_functions/trunc.hpp>
-
-namespace boost{
-namespace multiprecision{
-namespace concepts{
-
-#ifdef BOOST_MSVC
-#pragma warning(push)
-#pragma warning(disable:4244)
-#endif
-
-struct big_number_backend_real_architype
-{
- typedef mpl::list<long long> signed_types;
- typedef mpl::list<unsigned long long> unsigned_types;
- typedef mpl::list<long double> real_types;
-
- big_number_backend_real_architype()
- {
- std::cout << "Default construct" << std::endl;
- }
- big_number_backend_real_architype(const big_number_backend_real_architype& o)
- {
- std::cout << "Copy construct" << std::endl;
- m_value = o.m_value;
- }
- big_number_backend_real_architype& operator = (const big_number_backend_real_architype& o)
- {
- m_value = o.m_value;
- std::cout << "Assignment (" << m_value << ")" << std::endl;
- return *this;
- }
- big_number_backend_real_architype& operator = (boost::uintmax_t i)
- {
- m_value = i;
- std::cout << "UInt Assignment (" << i << ")" << std::endl;
- return *this;
- }
- big_number_backend_real_architype& operator = (boost::intmax_t i)
- {
- m_value = i;
- std::cout << "Int Assignment (" << i << ")" << std::endl;
- return *this;
- }
- big_number_backend_real_architype& operator = (long double d)
- {
- m_value = d;
- std::cout << "long double Assignment (" << d << ")" << std::endl;
- return *this;
- }
- big_number_backend_real_architype& operator = (const char* s)
- {
- m_value = boost::lexical_cast<long double>(s);
- std::cout << "const char* Assignment (" << s << ")" << std::endl;
- return *this;
- }
- void swap(big_number_backend_real_architype& o)
- {
- std::cout << "Swapping (" << m_value << " with " << o.m_value << ")" << std::endl;
- std::swap(m_value, o.m_value);
- }
- std::string str(unsigned digits, bool scientific)const
- {
- std::stringstream ss;
- if(scientific)
- ss.setf(ss.scientific);
- if(digits)
- ss.precision(digits);
- else
- ss.precision(std::numeric_limits<long double>::digits10 + 2);
- boost::intmax_t i = m_value;
- boost::uintmax_t u = m_value;
- if(!scientific && m_value == i)
- ss << i;
- else if(!scientific && m_value == u)
- ss << u;
- else
- ss << m_value;
- std::string s = ss.str();
- std::cout << "Converting to string (" << s << ")" << std::endl;
- return s;
- }
- void negate()
- {
- std::cout << "Negating (" << m_value << ")" << std::endl;
- m_value = -m_value;
- }
- int compare(const big_number_backend_real_architype& o)const
- {
- std::cout << "Comparison" << std::endl;
- return m_value > o.m_value ? 1 : (m_value < o.m_value ? -1 : 0);
- }
- int compare(boost::intmax_t i)const
- {
- std::cout << "Comparison with int" << std::endl;
- return m_value > i ? 1 : (m_value < i ? -1 : 0);
- }
- int compare(boost::uintmax_t i)const
- {
- std::cout << "Comparison with unsigned" << std::endl;
- return m_value > i ? 1 : (m_value < i ? -1 : 0);
- }
- int compare(long double d)const
- {
- std::cout << "Comparison with long double" << std::endl;
- return m_value > d ? 1 : (m_value < d ? -1 : 0);
- }
- long double m_value;
-};
-
-inline void add(big_number_backend_real_architype& result, const big_number_backend_real_architype& o)
-{
- std::cout << "Addition (" << result.m_value << " += " << o.m_value << ")" << std::endl;
- result.m_value += o.m_value;
-}
-inline void subtract(big_number_backend_real_architype& result, const big_number_backend_real_architype& o)
-{
- std::cout << "Subtraction (" << result.m_value << " -= " << o.m_value << ")" << std::endl;
- result.m_value -= o.m_value;
-}
-inline void multiply(big_number_backend_real_architype& result, const big_number_backend_real_architype& o)
-{
- std::cout << "Multiplication (" << result.m_value << " *= " << o.m_value << ")" << std::endl;
- result.m_value *= o.m_value;
-}
-inline void divide(big_number_backend_real_architype& result, const big_number_backend_real_architype& o)
-{
- std::cout << "Division (" << result.m_value << " /= " << o.m_value << ")" << std::endl;
- result.m_value /= o.m_value;
-}
-
-inline void convert_to(boost::uintmax_t* result, const big_number_backend_real_architype& val)
-{
- *result = static_cast<boost::uintmax_t>(val.m_value);
-}
-inline void convert_to(boost::intmax_t* result, const big_number_backend_real_architype& val)
-{
- *result = static_cast<boost::intmax_t>(val.m_value);
-}
-inline void convert_to(long double* result, big_number_backend_real_architype& val)
-{
- *result = val.m_value;
-}
-
-inline void eval_frexp(big_number_backend_real_architype& result, const big_number_backend_real_architype& arg, int* exp)
-{
- result = std::frexp(arg.m_value, exp);
-}
-
-inline void eval_ldexp(big_number_backend_real_architype& result, const big_number_backend_real_architype& arg, int exp)
-{
- result = std::ldexp(arg.m_value, exp);
-}
-
-inline void eval_floor(big_number_backend_real_architype& result, const big_number_backend_real_architype& arg)
-{
- result = std::floor(arg.m_value);
-}
-
-inline void eval_ceil(big_number_backend_real_architype& result, const big_number_backend_real_architype& arg)
-{
- result = std::ceil(arg.m_value);
-}
-
-inline void eval_trunc(big_number_backend_real_architype& result, const big_number_backend_real_architype& arg)
-{
- result = boost::math::trunc(arg.m_value);
-}
-
-inline void eval_sqrt(big_number_backend_real_architype& result, const big_number_backend_real_architype& arg)
-{
- result = std::sqrt(arg.m_value);
-}
-
-inline void eval_abs(big_number_backend_real_architype& result, const big_number_backend_real_architype& arg)
-{
- result = std::abs(arg.m_value);
-}
-
-inline void eval_fabs(big_number_backend_real_architype& result, const big_number_backend_real_architype& arg)
-{
- result = std::fabs(arg.m_value);
-}
-
-inline int eval_fpclassify(const big_number_backend_real_architype& arg)
-{
- return boost::math::fpclassify(arg.m_value);
-}
-
-inline void eval_pow(big_number_backend_real_architype& result, const big_number_backend_real_architype& b, const big_number_backend_real_architype& e)
-{
- result = std::pow(b.m_value, e.m_value);
-}
-
-inline void eval_pow(big_number_backend_real_architype& result, const big_number_backend_real_architype& b, int e)
-{
- result = std::pow(b.m_value, e);
-}
-
-inline void eval_exp(big_number_backend_real_architype& result, const big_number_backend_real_architype& arg)
-{
- result = std::exp(arg.m_value);
-}
-
-inline void eval_log(big_number_backend_real_architype& result, const big_number_backend_real_architype& arg)
-{
- result = std::log(arg.m_value);
-}
-
-inline void eval_sin(big_number_backend_real_architype& result, const big_number_backend_real_architype& arg)
-{
- result = std::sin(arg.m_value);
-}
-
-inline void eval_cos(big_number_backend_real_architype& result, const big_number_backend_real_architype& arg)
-{
- result = std::cos(arg.m_value);
-}
-
-inline void eval_tan(big_number_backend_real_architype& result, const big_number_backend_real_architype& arg)
-{
- result = std::tan(arg.m_value);
-}
-
-inline void eval_asin(big_number_backend_real_architype& result, const big_number_backend_real_architype& arg)
-{
- result = std::asin(arg.m_value);
-}
-
-inline void eval_acos(big_number_backend_real_architype& result, const big_number_backend_real_architype& arg)
-{
- result = std::acos(arg.m_value);
-}
-
-inline void eval_atan(big_number_backend_real_architype& result, const big_number_backend_real_architype& arg)
-{
- result = std::atan(arg.m_value);
-}
-
-inline void eval_sinh(big_number_backend_real_architype& result, const big_number_backend_real_architype& arg)
-{
- result = std::sinh(arg.m_value);
-}
-
-inline void eval_cosh(big_number_backend_real_architype& result, const big_number_backend_real_architype& arg)
-{
- result = std::cosh(arg.m_value);
-}
-
-inline void eval_tanh(big_number_backend_real_architype& result, const big_number_backend_real_architype& arg)
-{
- result = std::tanh(arg.m_value);
-}
-
-typedef boost::multiprecision::mp_number<big_number_backend_real_architype> big_number_real_architype;
-
-}}} // namespaces
-
-namespace std{
-
-#ifdef BOOST_NO_NOEXCEPT
-# define noexcept
-#endif
-
-template <>
-class numeric_limits<boost::multiprecision::concepts::big_number_real_architype> : public std::numeric_limits<long double>
-{
- typedef std::numeric_limits<long double> base_type;
- typedef boost::multiprecision::concepts::big_number_real_architype number_type;
-public:
- BOOST_STATIC_CONSTEXPR number_type (min)() noexcept { return (base_type::min)(); }
- BOOST_STATIC_CONSTEXPR number_type (max)() noexcept { return (base_type::max)(); }
- BOOST_STATIC_CONSTEXPR number_type lowest() noexcept { return -(max)(); }
- BOOST_STATIC_CONSTEXPR number_type epsilon() noexcept { return base_type::epsilon(); }
- BOOST_STATIC_CONSTEXPR number_type round_error() noexcept { return epsilon() / 2; }
- BOOST_STATIC_CONSTEXPR number_type infinity() noexcept { return base_type::infinity(); }
- BOOST_STATIC_CONSTEXPR number_type quiet_NaN() noexcept { return base_type::quiet_NaN(); }
- BOOST_STATIC_CONSTEXPR number_type signaling_NaN() noexcept { return base_type::signaling_NaN(); }
- BOOST_STATIC_CONSTEXPR number_type denorm_min() noexcept { return base_type::denorm_min(); }
-};
-
-#ifdef BOOST_NO_NOEXCEPT
-# undef noexcept
-#endif
-
-}
-
-#ifdef BOOST_MSVC
-#pragma warning(pop)
-#endif
-
-#endif

Deleted: sandbox/big_number/boost/multiprecision/detail/big_number_base.hpp
==============================================================================
--- sandbox/big_number/boost/multiprecision/detail/big_number_base.hpp 2011-10-03 13:03:28 EDT (Mon, 03 Oct 2011)
+++ (empty file)
@@ -1,983 +0,0 @@
-///////////////////////////////////////////////////////////////////////////////
-// Copyright 2011 John Maddock. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-#ifndef BOOST_MATH_BIG_NUM_BASE_HPP
-#define BOOST_MATH_BIG_NUM_BASE_HPP
-
-#include <limits>
-#include <boost/utility/enable_if.hpp>
-#include <boost/type_traits/is_convertible.hpp>
-
-namespace boost{ namespace multiprecision{
-
-template <class Backend>
-class mp_number;
-
-namespace detail{
-
-// Forward-declare an expression wrapper
-template<class tag, class Arg1 = void, class Arg2 = void, class Arg3 = void>
-struct mp_exp;
-
-template <int b>
-struct has_enough_bits
-{
- template <class T>
- struct type : public mpl::bool_<std::numeric_limits<T>::digits >= b>{};
-};
-
-template <class Val, class Backend, class Tag>
-struct canonical_imp
-{
- typedef Val type;
-};
-template <class Val, class Backend>
-struct canonical_imp<Val, Backend, mpl::int_<0> >
-{
- typedef typename has_enough_bits<std::numeric_limits<Val>::digits>::template type<mpl::_> pred_type;
- typedef typename mpl::find_if<
- typename Backend::signed_types,
- pred_type
- >::type iter_type;
- typedef typename mpl::deref<iter_type>::type type;
-};
-template <class Val, class Backend>
-struct canonical_imp<Val, Backend, mpl::int_<1> >
-{
- typedef typename has_enough_bits<std::numeric_limits<Val>::digits>::template type<mpl::_> pred_type;
- typedef typename mpl::find_if<
- typename Backend::unsigned_types,
- pred_type
- >::type iter_type;
- typedef typename mpl::deref<iter_type>::type type;
-};
-template <class Val, class Backend>
-struct canonical_imp<Val, Backend, mpl::int_<2> >
-{
- typedef typename has_enough_bits<std::numeric_limits<Val>::digits>::template type<mpl::_> pred_type;
- typedef typename mpl::find_if<
- typename Backend::real_types,
- pred_type
- >::type iter_type;
- typedef typename mpl::deref<iter_type>::type type;
-};
-template <class Val, class Backend>
-struct canonical_imp<Val, Backend, mpl::int_<3> >
-{
- typedef const char* type;
-};
-
-template <class Val, class Backend>
-struct canonical
-{
- typedef typename mpl::if_<
- is_signed<Val>,
- mpl::int_<0>,
- typename mpl::if_<
- is_unsigned<Val>,
- mpl::int_<1>,
- typename mpl::if_<
- is_floating_point<Val>,
- mpl::int_<2>,
- typename mpl::if_<
- mpl::or_<
- is_convertible<Val, const char*>,
- is_same<Val, std::string>
- >,
- mpl::int_<3>,
- mpl::int_<4>
- >::type
- >::type
- >::type
- >::type tag_type;
-
- typedef typename canonical_imp<Val, Backend, tag_type>::type type;
-};
-
-struct terminal{};
-struct negate{};
-struct plus{};
-struct minus{};
-struct multiplies{};
-struct divides{};
-struct modulus{};
-struct shift_left{};
-struct shift_right{};
-struct bitwise_and{};
-struct bitwise_or{};
-struct bitwise_xor{};
-struct bitwise_complement{};
-struct add_immediates{};
-struct subtract_immediates{};
-struct multiply_immediates{};
-struct divide_immediates{};
-struct modulus_immediates{};
-struct bitwise_and_immediates{};
-struct bitwise_or_immediates{};
-struct bitwise_xor_immediates{};
-struct complement_immediates{};
-struct function{};
-
-template <class T>
-struct backend_type;
-
-template <class T>
-struct backend_type<mp_number<T> >
-{
- typedef T type;
-};
-
-template <class tag, class A1, class A2, class A3>
-struct backend_type<mp_exp<tag, A1, A2, A3> >
-{
- typedef typename backend_type<typename mp_exp<tag, A1, A2, A3>::result_type>::type type;
-};
-
-
-template <class T>
-struct is_big_number : public mpl::false_{};
-template <class T>
-struct is_big_number<boost::multiprecision::mp_number<T> > : public mpl::true_{};
-template <class T>
-struct is_big_number_exp : public mpl::false_{};
-template <class Tag, class Arg1, class Arg2, class Arg3>
-struct is_big_number_exp<boost::multiprecision::detail::mp_exp<Tag, Arg1, Arg2, Arg3> > : public mpl::true_{};
-
-template <class T1, class T2>
-struct combine_expression;
-
-template <class T1, class T2>
-struct combine_expression<mp_number<T1>, T2>
-{
- typedef mp_number<T1> type;
-};
-
-template <class T1, class T2>
-struct combine_expression<T1, mp_number<T2> >
-{
- typedef mp_number<T2> type;
-};
-
-template <class T>
-struct combine_expression<mp_number<T>, mp_number<T> >
-{
- typedef mp_number<T> type;
-};
-
-template <class T>
-struct arg_type
-{
- typedef mp_exp<terminal, T> type;
-};
-
-template <class Tag, class Arg1, class Arg2, class Arg3>
-struct arg_type<mp_exp<Tag, Arg1, Arg2, Arg3> >
-{
- typedef mp_exp<Tag, Arg1, Arg2, Arg3> type;
-};
-
-template <class T>
-struct unmentionable
-{
- static void proc(){}
-};
-
-typedef void (*unmentionable_type)();
-
-template <class T>
-struct big_number_exp_storage
-{
- typedef const T& type;
-};
-
-template <class T>
-struct big_number_exp_storage<T*>
-{
- typedef T* type;
-};
-
-template <class T>
-struct big_number_exp_storage<const T*>
-{
- typedef const T* type;
-};
-
-template <class tag, class A1, class A2, class A3>
-struct big_number_exp_storage<mp_exp<tag, A1, A2, A3> >
-{
- typedef mp_exp<tag, A1, A2, A3> type;
-};
-
-template<class tag, class Arg1>
-struct mp_exp<tag, Arg1, void, void>
-{
- typedef mpl::int_<1> arity;
- typedef typename arg_type<Arg1>::type left_type;
- typedef typename left_type::result_type result_type;
- typedef tag tag_type;
-
- mp_exp(const Arg1& a) : arg(a) {}
-
- left_type left()const { return arg; }
-
- const Arg1& left_ref()const{ return arg; }
-
- static const unsigned depth = left_type::depth + 1;
-
- operator unmentionable_type()const
- {
- result_type r(*this);
- return r ? &unmentionable<void>::proc : 0;
- }
-
-private:
- typename big_number_exp_storage<Arg1>::type arg;
-};
-
-template<class Arg1>
-struct mp_exp<terminal, Arg1, void, void>
-{
- typedef mpl::int_<0> arity;
- typedef Arg1 result_type;
- typedef terminal tag_type;
-
- mp_exp(const Arg1& a) : arg(a) {}
-
- const Arg1& value()const { return arg; }
-
- static const unsigned depth = 0;
-
- operator unmentionable_type()const
- {
- return arg ? &unmentionable<void>::proc : 0;
- }
-
-private:
- typename big_number_exp_storage<Arg1>::type arg;
-};
-
-template <class tag, class Arg1, class Arg2>
-struct mp_exp<tag, Arg1, Arg2, void>
-{
- typedef mpl::int_<2> arity;
- typedef typename arg_type<Arg1>::type left_type;
- typedef typename arg_type<Arg2>::type right_type;
- typedef typename left_type::result_type left_result_type;
- typedef typename right_type::result_type right_result_type;
- typedef typename combine_expression<left_result_type, right_result_type>::type result_type;
- typedef tag tag_type;
-
- mp_exp(const Arg1& a1, const Arg2& a2) : arg1(a1), arg2(a2) {}
-
- left_type left()const { return arg1; }
- right_type right()const { return arg2; }
- const Arg1& left_ref()const{ return arg1; }
- const Arg2& right_ref()const{ return arg2; }
-
- operator unmentionable_type()const
- {
- result_type r(*this);
- return r ? &unmentionable<void>::proc : 0;
- }
-
- static const unsigned left_depth = left_type::depth + 1;
- static const unsigned right_depth = right_type::depth + 1;
- static const unsigned depth = left_depth > right_depth ? left_depth : right_depth;
-private:
- typename big_number_exp_storage<Arg1>::type arg1;
- typename big_number_exp_storage<Arg2>::type arg2;
-};
-
-template <class tag, class Arg1, class Arg2, class Arg3>
-struct mp_exp
-{
- typedef mpl::int_<3> arity;
- typedef typename arg_type<Arg1>::type left_type;
- typedef typename arg_type<Arg2>::type middle_type;
- typedef typename arg_type<Arg3>::type right_type;
- typedef typename left_type::result_type left_result_type;
- typedef typename middle_type::result_type middle_result_type;
- typedef typename right_type::result_type right_result_type;
- typedef typename combine_expression<
- left_result_type,
- typename combine_expression<right_result_type, middle_result_type>::type
- >::type result_type;
- typedef tag tag_type;
-
- mp_exp(const Arg1& a1, const Arg2& a2, const Arg3& a3) : arg1(a1), arg2(a2), arg3(a3) {}
-
- left_type left()const { return arg1; }
- middle_type middle()const { return arg2; }
- right_type right()const { return arg3; }
- const Arg1& left_ref()const{ return arg1; }
- const Arg2& middle_ref()const{ return arg2; }
- const Arg3& right_ref()const{ return arg3; }
-
- operator unmentionable_type()const
- {
- result_type r(*this);
- return r ? &unmentionable<void>::proc : 0;
- }
-
- static const unsigned left_depth = left_type::depth + 1;
- static const unsigned middle_depth = middle_type::depth + 1;
- static const unsigned right_depth = right_type::depth + 1;
- static const unsigned depth = left_depth > right_depth ? (left_depth > middle_depth ? left_depth : middle_depth) : (right_depth > middle_depth ? right_depth : middle_depth);
-private:
- typename big_number_exp_storage<Arg1>::type arg1;
- typename big_number_exp_storage<Arg2>::type arg2;
- typename big_number_exp_storage<Arg3>::type arg3;
-};
-
-} // namespace detail
-
-//
-// Non-member operators for mp_number:
-//
-// Unary operators first:
-//
-template <class B>
-inline const mp_number<B>& operator + (const mp_number<B>& v) { return v; }
-template <class tag, class Arg1, class Arg2, class Arg3>
-inline const detail::mp_exp<tag, Arg1, Arg2, Arg3>& operator + (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& v) { return v; }
-template <class B>
-inline detail::mp_exp<detail::negate, mp_number<B> > operator - (const mp_number<B>& v) { return v; }
-template <class tag, class Arg1, class Arg2, class Arg3>
-inline detail::mp_exp<detail::negate, detail::mp_exp<tag, Arg1, Arg2, Arg3> > operator - (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& v) { return v; }
-template <class B>
-inline detail::mp_exp<detail::complement_immediates, mp_number<B> > operator ~ (const mp_number<B>& v) { return v; }
-template <class tag, class Arg1, class Arg2, class Arg3>
-inline detail::mp_exp<detail::bitwise_complement, detail::mp_exp<tag, Arg1, Arg2, Arg3> > operator ~ (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& v) { return v; }
-//
-// Then addition:
-//
-template <class B>
-inline detail::mp_exp<detail::add_immediates, mp_number<B>, mp_number<B> >
- operator + (const mp_number<B>& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::add_immediates, mp_number<B>, mp_number<B> >(a, b);
-}
-template <class B, class V>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::add_immediates, mp_number<B>, V > >::type
- operator + (const mp_number<B>& a, const V& b)
-{
- return detail::mp_exp<detail::add_immediates, mp_number<B>, V >(a, b);
-}
-template <class V, class B>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::add_immediates, V, mp_number<B> > >::type
- operator + (const V& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::add_immediates, V, mp_number<B> >(a, b);
-}
-template <class B, class tag, class Arg1, class Arg2, class Arg3>
-inline detail::mp_exp<detail::plus, mp_number<B>, detail::mp_exp<tag, Arg1, Arg2, Arg3> >
- operator + (const mp_number<B>& a, const detail::mp_exp<tag, Arg1, Arg2, Arg3>& b)
-{
- return detail::mp_exp<detail::plus, mp_number<B>, detail::mp_exp<tag, Arg1, Arg2, Arg3> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class B>
-inline detail::mp_exp<detail::plus, detail::mp_exp<tag, Arg1, Arg2, Arg3>, mp_number<B> >
- operator + (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::plus, detail::mp_exp<tag, Arg1, Arg2, Arg3>, mp_number<B> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class tag2, class Arg1b, class Arg2b, class Arg3b>
-inline detail::mp_exp<detail::plus, detail::mp_exp<tag, Arg1, Arg2, Arg3>, detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b> >
- operator + (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b>& b)
-{
- return detail::mp_exp<detail::plus, detail::mp_exp<tag, Arg1, Arg2, Arg3>, detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class V>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::plus, detail::mp_exp<tag, Arg1, Arg2, Arg3>, V > >::type
- operator + (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const V& b)
-{
- return detail::mp_exp<detail::plus, detail::mp_exp<tag, Arg1, Arg2, Arg3>, V >(a, b);
-}
-template <class V, class tag, class Arg1, class Arg2, class Arg3>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::plus, V, detail::mp_exp<tag, Arg1, Arg2, Arg3> > >::type
- operator + (const V& a, const detail::mp_exp<tag, Arg1, Arg2, Arg3>& b)
-{
- return detail::mp_exp<detail::plus, V, detail::mp_exp<tag, Arg1, Arg2, Arg3> >(a, b);
-}
-//
-// Repeat operator for negated arguments: propagate the negation to the top level to avoid temporaries:
-//
-template <class B, class Arg1, class Arg2, class Arg3>
-inline detail::mp_exp<detail::minus, mp_number<B>, typename detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>::left_type >
- operator + (const mp_number<B>& a, const detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>& b)
-{
- return detail::mp_exp<detail::minus, mp_number<B>, typename detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>::left_type >(a, b.left_ref());
-}
-template <class Arg1, class Arg2, class Arg3, class B>
-inline detail::mp_exp<detail::minus, mp_number<B>, typename detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>::left_type >
- operator + (const detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::minus, mp_number<B>, typename detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>::left_type >(b, a.left_ref());
-}
-template <class B>
-inline detail::mp_exp<detail::subtract_immediates, mp_number<B>, mp_number<B> >
- operator + (const mp_number<B>& a, const detail::mp_exp<detail::negate, mp_number<B> >& b)
-{
- return detail::mp_exp<detail::subtract_immediates, mp_number<B>, mp_number<B> >(a, b.left_ref());
-}
-template <class B>
-inline detail::mp_exp<detail::subtract_immediates, mp_number<B>, mp_number<B> >
- operator + (const detail::mp_exp<detail::negate, mp_number<B> >& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::subtract_immediates, mp_number<B>, mp_number<B> >(b, a.left_ref());
-}
-template <class B, class V>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::subtract_immediates, mp_number<B>, V > >::type
- operator + (const detail::mp_exp<detail::negate, mp_number<B> >& a, const V& b)
-{
- return detail::mp_exp<detail::subtract_immediates, V, mp_number<B> >(b, a.left_ref());
-}
-template <class V, class B>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::subtract_immediates, V, mp_number<B> > >::type
- operator + (const V& a, const detail::mp_exp<detail::negate, mp_number<B> >& b)
-{
- return detail::mp_exp<detail::subtract_immediates, mp_number<B>, mp_number<B> >(a, b.left_ref());
-}
-//
-// Subtraction:
-//
-template <class B>
-inline detail::mp_exp<detail::subtract_immediates, mp_number<B>, mp_number<B> >
- operator - (const mp_number<B>& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::subtract_immediates, mp_number<B>, mp_number<B> >(a, b);
-}
-template <class B, class V>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::subtract_immediates, mp_number<B>, V > >::type
- operator - (const mp_number<B>& a, const V& b)
-{
- return detail::mp_exp<detail::subtract_immediates, mp_number<B>, V >(a, b);
-}
-template <class V, class B>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::subtract_immediates, V, mp_number<B> > >::type
- operator - (const V& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::subtract_immediates, V, mp_number<B> >(a, b);
-}
-template <class B, class tag, class Arg1, class Arg2, class Arg3>
-inline detail::mp_exp<detail::minus, mp_number<B>, detail::mp_exp<tag, Arg1, Arg2, Arg3> >
- operator - (const mp_number<B>& a, const detail::mp_exp<tag, Arg1, Arg2, Arg3>& b)
-{
- return detail::mp_exp<detail::minus, mp_number<B>, detail::mp_exp<tag, Arg1, Arg2, Arg3> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class B>
-inline detail::mp_exp<detail::minus, detail::mp_exp<tag, Arg1, Arg2, Arg3>, mp_number<B> >
- operator - (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::minus, detail::mp_exp<tag, Arg1, Arg2, Arg3>, mp_number<B> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class tag2, class Arg1b, class Arg2b, class Arg3b>
-inline detail::mp_exp<detail::minus, detail::mp_exp<tag, Arg1, Arg2, Arg3>, detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b> >
- operator - (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b>& b)
-{
- return detail::mp_exp<detail::minus, detail::mp_exp<tag, Arg1, Arg2, Arg3>, detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class V>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::minus, detail::mp_exp<tag, Arg1, Arg2, Arg3>, V > >::type
- operator - (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const V& b)
-{
- return detail::mp_exp<detail::minus, detail::mp_exp<tag, Arg1, Arg2, Arg3>, V >(a, b);
-}
-template <class V, class tag, class Arg1, class Arg2, class Arg3>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::minus, V, detail::mp_exp<tag, Arg1, Arg2, Arg3> > >::type
- operator - (const V& a, const detail::mp_exp<tag, Arg1, Arg2, Arg3>& b)
-{
- return detail::mp_exp<detail::minus, V, detail::mp_exp<tag, Arg1, Arg2, Arg3> >(a, b);
-}
-//
-// Repeat operator for negated arguments: propagate the negation to the top level to avoid temporaries:
-//
-template <class B, class Arg1, class Arg2, class Arg3>
-inline detail::mp_exp<detail::plus, mp_number<B>, typename detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>::left_type >
- operator - (const mp_number<B>& a, const detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>& b)
-{
- return detail::mp_exp<detail::plus, mp_number<B>, typename detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>::left_type >(a, b.left_ref());
-}
-template <class Arg1, class Arg2, class Arg3, class B>
-inline detail::mp_exp<detail::negate, detail::mp_exp<detail::plus, mp_number<B>, typename detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>::left_type > >
- operator - (const detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::plus, mp_number<B>, typename detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>::left_type >(b, a.left_ref());
-}
-template <class B>
-inline detail::mp_exp<detail::add_immediates, mp_number<B>, mp_number<B> >
- operator - (const mp_number<B>& a, const detail::mp_exp<detail::negate, mp_number<B> >& b)
-{
- return detail::mp_exp<detail::add_immediates, mp_number<B>, mp_number<B> >(a, b.left_ref());
-}
-template <class B>
-inline detail::mp_exp<detail::negate, detail::mp_exp<detail::add_immediates, mp_number<B>, mp_number<B> > >
- operator - (const detail::mp_exp<detail::negate, mp_number<B> >& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::add_immediates, mp_number<B>, mp_number<B> >(b, a.left_ref());
-}
-template <class B, class V>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::negate, detail::mp_exp<detail::add_immediates, mp_number<B>, V > > >::type
- operator - (const detail::mp_exp<detail::negate, mp_number<B> >& a, const V& b)
-{
- return detail::mp_exp<detail::add_immediates, V, mp_number<B> >(b, a.left_ref());
-}
-template <class V, class B>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::add_immediates, V, mp_number<B> > >::type
- operator - (const V& a, const detail::mp_exp<detail::negate, mp_number<B> >& b)
-{
- return detail::mp_exp<detail::add_immediates, V, mp_number<B> >(a, b.left_ref());
-}
-//
-// Multiplication:
-//
-template <class B>
-inline detail::mp_exp<detail::multiply_immediates, mp_number<B>, mp_number<B> >
- operator * (const mp_number<B>& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::multiply_immediates, mp_number<B>, mp_number<B> >(a, b);
-}
-template <class B, class V>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::multiply_immediates, mp_number<B>, V > >::type
- operator * (const mp_number<B>& a, const V& b)
-{
- return detail::mp_exp<detail::multiply_immediates, mp_number<B>, V >(a, b);
-}
-template <class V, class B>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::multiply_immediates, V, mp_number<B> > >::type
- operator * (const V& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::multiply_immediates, V, mp_number<B> >(a, b);
-}
-template <class B, class tag, class Arg1, class Arg2, class Arg3>
-inline detail::mp_exp<detail::multiplies, mp_number<B>, detail::mp_exp<tag, Arg1, Arg2, Arg3> >
- operator * (const mp_number<B>& a, const detail::mp_exp<tag, Arg1, Arg2, Arg3>& b)
-{
- return detail::mp_exp<detail::multiplies, mp_number<B>, detail::mp_exp<tag, Arg1, Arg2, Arg3> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class B>
-inline detail::mp_exp<detail::multiplies, detail::mp_exp<tag, Arg1, Arg2, Arg3>, mp_number<B> >
- operator * (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::multiplies, detail::mp_exp<tag, Arg1, Arg2, Arg3>, mp_number<B> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class tag2, class Arg1b, class Arg2b, class Arg3b>
-inline detail::mp_exp<detail::multiplies, detail::mp_exp<tag, Arg1, Arg2, Arg3>, detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b> >
- operator * (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b>& b)
-{
- return detail::mp_exp<detail::multiplies, detail::mp_exp<tag, Arg1, Arg2, Arg3>, detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class V>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::multiplies, detail::mp_exp<tag, Arg1, Arg2, Arg3>, V > >::type
- operator * (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const V& b)
-{
- return detail::mp_exp<detail::multiplies, detail::mp_exp<tag, Arg1, Arg2, Arg3>, V >(a, b);
-}
-template <class V, class tag, class Arg1, class Arg2, class Arg3>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::multiplies, V, detail::mp_exp<tag, Arg1, Arg2, Arg3> > >::type
- operator * (const V& a, const detail::mp_exp<tag, Arg1, Arg2, Arg3>& b)
-{
- return detail::mp_exp<detail::multiplies, V, detail::mp_exp<tag, Arg1, Arg2, Arg3> >(a, b);
-}
-//
-// Repeat operator for negated arguments: propagate the negation to the top level to avoid temporaries:
-//
-template <class B, class Arg1, class Arg2, class Arg3>
-inline detail::mp_exp<detail::negate, detail::mp_exp<detail::multiplies, mp_number<B>, typename detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>::left_type > >
- operator * (const mp_number<B>& a, const detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>& b)
-{
- return detail::mp_exp<detail::multiplies, mp_number<B>, typename detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>::left_type > (a, b.left_ref());
-}
-template <class Arg1, class Arg2, class Arg3, class B>
-inline detail::mp_exp<detail::negate, detail::mp_exp<detail::multiplies, mp_number<B>, typename detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>::left_type > >
- operator * (const detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::multiplies, mp_number<B>, typename detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>::left_type >(b, a.left_ref());
-}
-template <class B>
-inline detail::mp_exp<detail::negate, detail::mp_exp<detail::multiply_immediates, mp_number<B>, mp_number<B> > >
- operator * (const mp_number<B>& a, const detail::mp_exp<detail::negate, mp_number<B> >& b)
-{
- return detail::mp_exp<detail::multiply_immediates, mp_number<B>, mp_number<B> >(a, b.left_ref());
-}
-template <class B>
-inline detail::mp_exp<detail::negate, detail::mp_exp<detail::multiply_immediates, mp_number<B>, mp_number<B> > >
- operator * (const detail::mp_exp<detail::negate, mp_number<B> >& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::multiply_immediates, mp_number<B>, mp_number<B> >(b, a.left_ref());
-}
-template <class B, class V>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::negate, detail::mp_exp<detail::multiply_immediates, mp_number<B>, V > > >::type
- operator * (const detail::mp_exp<detail::negate, mp_number<B> >& a, const V& b)
-{
- return detail::mp_exp<detail::multiply_immediates, mp_number<B>, V >(a.left_ref(), b);
-}
-template <class V, class B>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::negate, detail::mp_exp<detail::multiply_immediates, mp_number<B>, V > > >::type
- operator * (const V& a, const detail::mp_exp<detail::negate, mp_number<B> >& b)
-{
- return detail::mp_exp<detail::multiply_immediates, mp_number<B>, V >(b.left_ref(), a);
-}
-//
-// Division:
-//
-template <class B>
-inline detail::mp_exp<detail::divide_immediates, mp_number<B>, mp_number<B> >
- operator / (const mp_number<B>& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::divide_immediates, mp_number<B>, mp_number<B> >(a, b);
-}
-template <class B, class V>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::divide_immediates, mp_number<B>, V > >::type
- operator / (const mp_number<B>& a, const V& b)
-{
- return detail::mp_exp<detail::divide_immediates, mp_number<B>, V >(a, b);
-}
-template <class V, class B>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::divide_immediates, V, mp_number<B> > >::type
- operator / (const V& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::divide_immediates, V, mp_number<B> >(a, b);
-}
-template <class B, class tag, class Arg1, class Arg2, class Arg3>
-inline detail::mp_exp<detail::divides, mp_number<B>, detail::mp_exp<tag, Arg1, Arg2, Arg3> >
- operator / (const mp_number<B>& a, const detail::mp_exp<tag, Arg1, Arg2, Arg3>& b)
-{
- return detail::mp_exp<detail::divides, mp_number<B>, detail::mp_exp<tag, Arg1, Arg2, Arg3> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class B>
-inline detail::mp_exp<detail::divides, detail::mp_exp<tag, Arg1, Arg2, Arg3>, mp_number<B> >
- operator / (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::divides, detail::mp_exp<tag, Arg1, Arg2, Arg3>, mp_number<B> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class tag2, class Arg1b, class Arg2b, class Arg3b>
-inline detail::mp_exp<detail::divides, detail::mp_exp<tag, Arg1, Arg2, Arg3>, detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b> >
- operator / (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b>& b)
-{
- return detail::mp_exp<detail::divides, detail::mp_exp<tag, Arg1, Arg2, Arg3>, detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class V>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::divides, detail::mp_exp<tag, Arg1, Arg2, Arg3>, V > >::type
- operator / (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const V& b)
-{
- return detail::mp_exp<detail::divides, detail::mp_exp<tag, Arg1, Arg2, Arg3>, V >(a, b);
-}
-template <class V, class tag, class Arg1, class Arg2, class Arg3>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::divides, V, detail::mp_exp<tag, Arg1, Arg2, Arg3> > >::type
- operator / (const V& a, const detail::mp_exp<tag, Arg1, Arg2, Arg3>& b)
-{
- return detail::mp_exp<detail::divides, V, detail::mp_exp<tag, Arg1, Arg2, Arg3> >(a, b);
-}
-//
-// Repeat operator for negated arguments: propagate the negation to the top level to avoid temporaries:
-//
-template <class B, class Arg1, class Arg2, class Arg3>
-inline detail::mp_exp<detail::negate, detail::mp_exp<detail::divides, mp_number<B>, typename detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>::left_type > >
- operator / (const mp_number<B>& a, const detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>& b)
-{
- return detail::mp_exp<detail::divides, mp_number<B>, typename detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>::left_type >(a, b.left_ref());
-}
-template <class Arg1, class Arg2, class Arg3, class B>
-inline detail::mp_exp<detail::negate, detail::mp_exp<detail::divides, typename detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>::left_type, mp_number<B> > >
- operator / (const detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::divides, typename detail::mp_exp<detail::negate, Arg1, Arg2, Arg3>::left_type, mp_number<B> >(a.left_ref(), b);
-}
-template <class B>
-inline detail::mp_exp<detail::negate, detail::mp_exp<detail::divide_immediates, mp_number<B>, mp_number<B> > >
- operator / (const mp_number<B>& a, const detail::mp_exp<detail::negate, mp_number<B> >& b)
-{
- return detail::mp_exp<detail::divide_immediates, mp_number<B>, mp_number<B> >(a, b.left_ref());
-}
-template <class B>
-inline detail::mp_exp<detail::negate, detail::mp_exp<detail::divide_immediates, mp_number<B>, mp_number<B> > >
- operator / (const detail::mp_exp<detail::negate, mp_number<B> >& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::divide_immediates, mp_number<B>, mp_number<B> >(a.left_ref(), b);
-}
-template <class B, class V>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::negate, detail::mp_exp<detail::divide_immediates, mp_number<B>, V > > >::type
- operator / (const detail::mp_exp<detail::negate, mp_number<B> >& a, const V& b)
-{
- return detail::mp_exp<detail::divide_immediates, mp_number<B>, V>(a.left_ref(), b);
-}
-template <class V, class B>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::negate, detail::mp_exp<detail::divide_immediates, V, mp_number<B> > > >::type
- operator / (const V& a, const detail::mp_exp<detail::negate, mp_number<B> >& b)
-{
- return detail::mp_exp<detail::divide_immediates, V, mp_number<B> >(a, b.left_ref());
-}
-//
-// Modulus:
-//
-template <class B>
-inline detail::mp_exp<detail::modulus_immediates, mp_number<B>, mp_number<B> >
- operator % (const mp_number<B>& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::modulus_immediates, mp_number<B>, mp_number<B> >(a, b);
-}
-template <class B, class V>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::modulus_immediates, mp_number<B>, V > >::type
- operator % (const mp_number<B>& a, const V& b)
-{
- return detail::mp_exp<detail::modulus_immediates, mp_number<B>, V >(a, b);
-}
-template <class V, class B>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::modulus_immediates, V, mp_number<B> > >::type
- operator % (const V& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::modulus_immediates, V, mp_number<B> >(a, b);
-}
-template <class B, class tag, class Arg1, class Arg2, class Arg3>
-inline detail::mp_exp<detail::modulus, mp_number<B>, detail::mp_exp<tag, Arg1, Arg2, Arg3> >
- operator % (const mp_number<B>& a, const detail::mp_exp<tag, Arg1, Arg2, Arg3>& b)
-{
- return detail::mp_exp<detail::modulus, mp_number<B>, detail::mp_exp<tag, Arg1, Arg2, Arg3> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class B>
-inline detail::mp_exp<detail::modulus, detail::mp_exp<tag, Arg1, Arg2, Arg3>, mp_number<B> >
- operator % (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::modulus, detail::mp_exp<tag, Arg1, Arg2, Arg3>, mp_number<B> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class tag2, class Arg1b, class Arg2b, class Arg3b>
-inline detail::mp_exp<detail::modulus, detail::mp_exp<tag, Arg1, Arg2, Arg3>, detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b> >
- operator % (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b>& b)
-{
- return detail::mp_exp<detail::modulus, detail::mp_exp<tag, Arg1, Arg2, Arg3>, detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class V>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::modulus, detail::mp_exp<tag, Arg1, Arg2, Arg3>, V > >::type
- operator % (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const V& b)
-{
- return detail::mp_exp<detail::modulus, detail::mp_exp<tag, Arg1, Arg2, Arg3>, V >(a, b);
-}
-template <class V, class tag, class Arg1, class Arg2, class Arg3>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::modulus, V, detail::mp_exp<tag, Arg1, Arg2, Arg3> > >::type
- operator % (const V& a, const detail::mp_exp<tag, Arg1, Arg2, Arg3>& b)
-{
- return detail::mp_exp<detail::modulus, V, detail::mp_exp<tag, Arg1, Arg2, Arg3> >(a, b);
-}
-//
-// Left shift:
-//
-template <class B, class I>
-inline typename enable_if<is_integral<I>, detail::mp_exp<detail::shift_left, mp_number<B>, I > >::type
- operator << (const mp_number<B>& a, const I& b)
-{
- return detail::mp_exp<detail::shift_left, mp_number<B>, I>(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class I>
-inline typename enable_if<is_integral<I>, detail::mp_exp<detail::shift_left, detail::mp_exp<tag, Arg1, Arg2, Arg3>, I> >::type
- operator << (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const I& b)
-{
- return detail::mp_exp<detail::shift_left, detail::mp_exp<tag, Arg1, Arg2, Arg3>, I>(a, b);
-}
-//
-// Right shift:
-//
-template <class B, class I>
-inline typename enable_if<is_integral<I>, detail::mp_exp<detail::shift_right, mp_number<B>, I > >::type
- operator >> (const mp_number<B>& a, const I& b)
-{
- return detail::mp_exp<detail::shift_right, mp_number<B>, I>(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class I>
-inline typename enable_if<is_integral<I>, detail::mp_exp<detail::shift_right, detail::mp_exp<tag, Arg1, Arg2, Arg3>, I> >::type
- operator >> (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const I& b)
-{
- return detail::mp_exp<detail::shift_right, detail::mp_exp<tag, Arg1, Arg2, Arg3>, I>(a, b);
-}
-//
-// Bitwise AND:
-//
-template <class B>
-inline detail::mp_exp<detail::bitwise_and_immediates, mp_number<B>, mp_number<B> >
- operator & (const mp_number<B>& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::bitwise_and_immediates, mp_number<B>, mp_number<B> >(a, b);
-}
-template <class B, class V>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::bitwise_and_immediates, mp_number<B>, V > >::type
- operator & (const mp_number<B>& a, const V& b)
-{
- return detail::mp_exp<detail::bitwise_and_immediates, mp_number<B>, V >(a, b);
-}
-template <class V, class B>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::bitwise_and_immediates, V, mp_number<B> > >::type
- operator & (const V& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::bitwise_and_immediates, V, mp_number<B> >(a, b);
-}
-template <class B, class tag, class Arg1, class Arg2, class Arg3>
-inline detail::mp_exp<detail::bitwise_and, mp_number<B>, detail::mp_exp<tag, Arg1, Arg2, Arg3> >
- operator & (const mp_number<B>& a, const detail::mp_exp<tag, Arg1, Arg2, Arg3>& b)
-{
- return detail::mp_exp<detail::bitwise_and, mp_number<B>, detail::mp_exp<tag, Arg1, Arg2, Arg3> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class B>
-inline detail::mp_exp<detail::bitwise_and, detail::mp_exp<tag, Arg1, Arg2, Arg3>, mp_number<B> >
- operator & (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::bitwise_and, detail::mp_exp<tag, Arg1, Arg2, Arg3>, mp_number<B> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class tag2, class Arg1b, class Arg2b, class Arg3b>
-inline detail::mp_exp<detail::bitwise_and, detail::mp_exp<tag, Arg1, Arg2, Arg3>, detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b> >
- operator & (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b>& b)
-{
- return detail::mp_exp<detail::bitwise_and, detail::mp_exp<tag, Arg1, Arg2, Arg3>, detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class V>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::bitwise_and, detail::mp_exp<tag, Arg1, Arg2, Arg3>, V > >::type
- operator & (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const V& b)
-{
- return detail::mp_exp<detail::bitwise_and, detail::mp_exp<tag, Arg1, Arg2, Arg3>, V >(a, b);
-}
-template <class V, class tag, class Arg1, class Arg2, class Arg3>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::bitwise_and, V, detail::mp_exp<tag, Arg1, Arg2, Arg3> > >::type
- operator & (const V& a, const detail::mp_exp<tag, Arg1, Arg2, Arg3>& b)
-{
- return detail::mp_exp<detail::bitwise_and, V, detail::mp_exp<tag, Arg1, Arg2, Arg3> >(a, b);
-}
-//
-// Bitwise OR:
-//
-template <class B>
-inline detail::mp_exp<detail::bitwise_or_immediates, mp_number<B>, mp_number<B> >
- operator| (const mp_number<B>& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::bitwise_or_immediates, mp_number<B>, mp_number<B> >(a, b);
-}
-template <class B, class V>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::bitwise_or_immediates, mp_number<B>, V > >::type
- operator| (const mp_number<B>& a, const V& b)
-{
- return detail::mp_exp<detail::bitwise_or_immediates, mp_number<B>, V >(a, b);
-}
-template <class V, class B>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::bitwise_or_immediates, V, mp_number<B> > >::type
- operator| (const V& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::bitwise_or_immediates, V, mp_number<B> >(a, b);
-}
-template <class B, class tag, class Arg1, class Arg2, class Arg3>
-inline detail::mp_exp<detail::bitwise_or, mp_number<B>, detail::mp_exp<tag, Arg1, Arg2, Arg3> >
- operator| (const mp_number<B>& a, const detail::mp_exp<tag, Arg1, Arg2, Arg3>& b)
-{
- return detail::mp_exp<detail::bitwise_or, mp_number<B>, detail::mp_exp<tag, Arg1, Arg2, Arg3> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class B>
-inline detail::mp_exp<detail::bitwise_or, detail::mp_exp<tag, Arg1, Arg2, Arg3>, mp_number<B> >
- operator| (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::bitwise_or, detail::mp_exp<tag, Arg1, Arg2, Arg3>, mp_number<B> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class tag2, class Arg1b, class Arg2b, class Arg3b>
-inline detail::mp_exp<detail::bitwise_or, detail::mp_exp<tag, Arg1, Arg2, Arg3>, detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b> >
- operator| (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b>& b)
-{
- return detail::mp_exp<detail::bitwise_or, detail::mp_exp<tag, Arg1, Arg2, Arg3>, detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class V>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::bitwise_or, detail::mp_exp<tag, Arg1, Arg2, Arg3>, V > >::type
- operator| (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const V& b)
-{
- return detail::mp_exp<detail::bitwise_or, detail::mp_exp<tag, Arg1, Arg2, Arg3>, V >(a, b);
-}
-template <class V, class tag, class Arg1, class Arg2, class Arg3>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::bitwise_or, V, detail::mp_exp<tag, Arg1, Arg2, Arg3> > >::type
- operator| (const V& a, const detail::mp_exp<tag, Arg1, Arg2, Arg3>& b)
-{
- return detail::mp_exp<detail::bitwise_or, V, detail::mp_exp<tag, Arg1, Arg2, Arg3> >(a, b);
-}
-//
-// Bitwise XOR:
-//
-template <class B>
-inline detail::mp_exp<detail::bitwise_xor_immediates, mp_number<B>, mp_number<B> >
- operator^ (const mp_number<B>& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::bitwise_xor_immediates, mp_number<B>, mp_number<B> >(a, b);
-}
-template <class B, class V>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::bitwise_xor_immediates, mp_number<B>, V > >::type
- operator^ (const mp_number<B>& a, const V& b)
-{
- return detail::mp_exp<detail::bitwise_xor_immediates, mp_number<B>, V >(a, b);
-}
-template <class V, class B>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::bitwise_xor_immediates, V, mp_number<B> > >::type
- operator^ (const V& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::bitwise_xor_immediates, V, mp_number<B> >(a, b);
-}
-template <class B, class tag, class Arg1, class Arg2, class Arg3>
-inline detail::mp_exp<detail::bitwise_xor, mp_number<B>, detail::mp_exp<tag, Arg1, Arg2, Arg3> >
- operator^ (const mp_number<B>& a, const detail::mp_exp<tag, Arg1, Arg2, Arg3>& b)
-{
- return detail::mp_exp<detail::bitwise_xor, mp_number<B>, detail::mp_exp<tag, Arg1, Arg2, Arg3> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class B>
-inline detail::mp_exp<detail::bitwise_xor, detail::mp_exp<tag, Arg1, Arg2, Arg3>, mp_number<B> >
- operator^ (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const mp_number<B>& b)
-{
- return detail::mp_exp<detail::bitwise_xor, detail::mp_exp<tag, Arg1, Arg2, Arg3>, mp_number<B> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class tag2, class Arg1b, class Arg2b, class Arg3b>
-inline detail::mp_exp<detail::bitwise_xor, detail::mp_exp<tag, Arg1, Arg2, Arg3>, detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b> >
- operator^ (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b>& b)
-{
- return detail::mp_exp<detail::bitwise_xor, detail::mp_exp<tag, Arg1, Arg2, Arg3>, detail::mp_exp<tag2, Arg1b, Arg2b, Arg3b> >(a, b);
-}
-template <class tag, class Arg1, class Arg2, class Arg3, class V>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::bitwise_xor, detail::mp_exp<tag, Arg1, Arg2, Arg3>, V > >::type
- operator^ (const detail::mp_exp<tag, Arg1, Arg2, Arg3>& a, const V& b)
-{
- return detail::mp_exp<detail::bitwise_xor, detail::mp_exp<tag, Arg1, Arg2, Arg3>, V >(a, b);
-}
-template <class V, class tag, class Arg1, class Arg2, class Arg3>
-inline typename enable_if<is_arithmetic<V>, detail::mp_exp<detail::bitwise_xor, V, detail::mp_exp<tag, Arg1, Arg2, Arg3> > >::type
- operator^ (const V& a, const detail::mp_exp<tag, Arg1, Arg2, Arg3>& b)
-{
- return detail::mp_exp<detail::bitwise_xor, V, detail::mp_exp<tag, Arg1, Arg2, Arg3> >(a, b);
-}
-
-//
-// Traits class, lets us know what kind of number we have, defaults to a floating point type:
-//
-enum number_category_type
-{
- number_kind_integer = 0,
- number_kind_floating_point = 1,
- number_kind_rational = 2,
- number_kind_fixed_point = 3
-};
-
-template <class Num>
-struct number_category : public mpl::int_<number_kind_floating_point> {};
-template <class Backend>
-struct number_category<mp_number<Backend> > : public number_category<Backend>{};
-template <class tag, class A1, class A2, class A3>
-struct number_category<detail::mp_exp<tag, A1, A2, A3> > : public number_category<typename detail::mp_exp<tag, A1, A2, A3>::result_type>{};
-
-}} // namespaces
-
-namespace boost{ namespace math{ namespace tools{
-
-template <class T>
-struct promote_arg;
-
-template <class tag, class A1, class A2, class A3>
-struct promote_arg<boost::multiprecision::detail::mp_exp<tag, A1, A2, A3> >
-{
- typedef typename boost::multiprecision::detail::mp_exp<tag, A1, A2, A3>::result_type type;
-};
-
-}}}
-
-#endif // BOOST_MATH_BIG_NUM_BASE_HPP
-
-

Modified: sandbox/big_number/boost/multiprecision/detail/default_ops.hpp
==============================================================================
--- sandbox/big_number/boost/multiprecision/detail/default_ops.hpp (original)
+++ sandbox/big_number/boost/multiprecision/detail/default_ops.hpp 2011-10-03 13:03:28 EDT (Mon, 03 Oct 2011)
@@ -7,7 +7,7 @@
 #define BOOST_MATH_BIG_NUM_DEF_OPS
 
 #include <boost/math/policies/error_handling.hpp>
-#include <boost/multiprecision/detail/big_number_base.hpp>
+#include <boost/multiprecision/detail/mp_number_base.hpp>
 #include <boost/math/special_functions/fpclassify.hpp>
 #include <boost/lexical_cast.hpp>
 #include <boost/utility/enable_if.hpp>

Modified: sandbox/big_number/libs/multiprecision/test/Jamfile.v2
==============================================================================
--- sandbox/big_number/libs/multiprecision/test/Jamfile.v2 (original)
+++ sandbox/big_number/libs/multiprecision/test/Jamfile.v2 2011-10-03 13:03:28 EDT (Mon, 03 Oct 2011)
@@ -179,7 +179,7 @@
          [ check-target-builds ../config//has_e_float : : <build>no ]
         : test_numeric_limits_e_float ;
 
-run big_number_concept_check.cpp mpfr
+run mp_number_concept_check.cpp mpfr
         : # command line
         : # input files
         : # requirements

Deleted: sandbox/big_number/libs/multiprecision/test/big_number_concept_check.cpp
==============================================================================
--- sandbox/big_number/libs/multiprecision/test/big_number_concept_check.cpp 2011-10-03 13:03:28 EDT (Mon, 03 Oct 2011)
+++ (empty file)
@@ -1,100 +0,0 @@
-
-// Copyright John Maddock 2011.
-// Use, modification and distribution are subject to the
-// Boost Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-//
-// This tests two things: that e_float meets our
-// conceptual requirements, and that we can instantiate
-// all our distributions and special functions on this type.
-//
-#define BOOST_MATH_ASSERT_UNDEFINED_POLICY false
-#define BOOST_MATH_INSTANTIATE_MINIMUM
-
-#ifdef _MSC_VER
-# pragma warning(disable:4800)
-# pragma warning(disable:4512)
-# pragma warning(disable:4127)
-# pragma warning(disable:4512)
-# pragma warning(disable:4503) // decorated name length exceeded, name was truncated
-#endif
-
-#if !defined(TEST_MPF50) && !defined(TEST_MPF) && !defined(TEST_BACKEND) && !defined(TEST_MPZ) && !defined(TEST_E_FLOAT) && !defined(TEST_MPFR) && !defined(TEST_MPFR_50)
-# define TEST_MPF50
-# define TEST_MPF
-# define TEST_BACKEND
-# define TEST_MPZ
-# define TEST_MPFR
-# define TEST_MPFR_50
-# define TEST_E_FLOAT
-
-#ifdef _MSC_VER
-#pragma message("CAUTION!!: No backend type specified so testing everything.... this will take some time!!")
-#endif
-#ifdef __GNUC__
-#pragma warning "CAUTION!!: No backend type specified so testing everything.... this will take some time!!"
-#endif
-
-#endif
-
-#if defined(TEST_MPF50) || defined(TEST_MPF) || defined(TEST_MPZ)
-#include <boost/multiprecision/gmp.hpp>
-#endif
-#ifdef TEST_BACKEND
-#include <boost/multiprecision/concepts/big_number_architypes.hpp>
-#endif
-#ifdef TEST_E_FLOAT
-#include <boost/multiprecision/e_float.hpp>
-#endif
-#if defined(TEST_MPFR) || defined(TEST_MPFR_50)
-#include <boost/multiprecision/mpfr.hpp>
-#endif
-
-#include <boost/math/concepts/real_type_concept.hpp>
-#include "libs/math/test/compile_test/instantiate.hpp"
-
-void foo()
-{
-#ifdef TEST_BACKEND
- instantiate(boost::multiprecision::big_number_real_architype());
-#endif
-#ifdef TEST_MPF_50
- instantiate(boost::multiprecision::mpf_real_50());
-#endif
-#ifdef TEST_MPF
- instantiate(boost::multiprecision::mpf_real());
-#endif
-#ifdef TEST_MPFR_50
- instantiate(boost::multiprecision::mpfr_real_50());
-#endif
-#ifdef TEST_MPFR
- instantiate(boost::multiprecision::mpfr_real());
-#endif
-#ifdef TEST_E_FLOAT
- instantiate(boost::multiprecision::e_float());
-#endif
-}
-
-int main()
-{
-#ifdef TEST_BACKEND
- BOOST_CONCEPT_ASSERT((boost::math::concepts::RealTypeConcept<boost::math::concepts::big_number_real_architype>));
-#endif
-#ifdef TEST_MPF_50
- BOOST_CONCEPT_ASSERT((boost::math::concepts::RealTypeConcept<boost::multiprecision::mpf_real_50>));
-#endif
-#ifdef TEST_MPF
- BOOST_CONCEPT_ASSERT((boost::math::concepts::RealTypeConcept<boost::multiprecision::mpf_real>));
-#endif
-#ifdef TEST_MPFR_50
- BOOST_CONCEPT_ASSERT((boost::math::concepts::RealTypeConcept<boost::multiprecision::mpfr_real_50>));
-#endif
-#ifdef TEST_MPFR
- BOOST_CONCEPT_ASSERT((boost::math::concepts::RealTypeConcept<boost::multiprecision::mpfr_real>));
-#endif
-#ifdef TEST_E_FLOAT
- BOOST_CONCEPT_ASSERT((boost::math::concepts::RealTypeConcept<boost::multiprecision::e_float>));
-#endif
-
-}

Copied: sandbox/big_number/libs/multiprecision/test/mp_number_concept_check.cpp (from r74669, /sandbox/big_number/libs/multiprecision/test/big_number_concept_check.cpp)
==============================================================================
--- /sandbox/big_number/libs/multiprecision/test/big_number_concept_check.cpp (original)
+++ sandbox/big_number/libs/multiprecision/test/mp_number_concept_check.cpp 2011-10-03 13:03:28 EDT (Mon, 03 Oct 2011)
@@ -42,7 +42,7 @@
 #include <boost/multiprecision/gmp.hpp>
 #endif
 #ifdef TEST_BACKEND
-#include <boost/multiprecision/concepts/big_number_architypes.hpp>
+#include <boost/multiprecision/concepts/mp_number_architypes.hpp>
 #endif
 #ifdef TEST_E_FLOAT
 #include <boost/multiprecision/e_float.hpp>

Modified: sandbox/big_number/libs/multiprecision/test/test_arithmetic.cpp
==============================================================================
--- sandbox/big_number/libs/multiprecision/test/test_arithmetic.cpp (original)
+++ sandbox/big_number/libs/multiprecision/test/test_arithmetic.cpp 2011-10-03 13:03:28 EDT (Mon, 03 Oct 2011)
@@ -29,7 +29,7 @@
 #include <boost/multiprecision/gmp.hpp>
 #endif
 #ifdef TEST_BACKEND
-#include <boost/multiprecision/concepts/big_number_architypes.hpp>
+#include <boost/multiprecision/concepts/mp_number_architypes.hpp>
 #endif
 #ifdef TEST_E_FLOAT
 #include <boost/multiprecision/e_float.hpp>

Modified: sandbox/big_number/libs/multiprecision/test/test_exp.cpp
==============================================================================
--- sandbox/big_number/libs/multiprecision/test/test_exp.cpp (original)
+++ sandbox/big_number/libs/multiprecision/test/test_exp.cpp 2011-10-03 13:03:28 EDT (Mon, 03 Oct 2011)
@@ -30,7 +30,7 @@
 #include <boost/multiprecision/gmp.hpp>
 #endif
 #ifdef TEST_BACKEND
-#include <boost/multiprecision/concepts/big_number_architypes.hpp>
+#include <boost/multiprecision/concepts/mp_number_architypes.hpp>
 #endif
 #ifdef TEST_E_FLOAT
 #include <boost/multiprecision/e_float.hpp>

Modified: sandbox/big_number/libs/multiprecision/test/test_numeric_limits.cpp
==============================================================================
--- sandbox/big_number/libs/multiprecision/test/test_numeric_limits.cpp (original)
+++ sandbox/big_number/libs/multiprecision/test/test_numeric_limits.cpp 2011-10-03 13:03:28 EDT (Mon, 03 Oct 2011)
@@ -28,7 +28,7 @@
 #include <boost/multiprecision/gmp.hpp>
 #endif
 #ifdef TEST_BACKEND
-#include <boost/multiprecision/concepts/big_number_architypes.hpp>
+#include <boost/multiprecision/concepts/mp_number_architypes.hpp>
 #endif
 #ifdef TEST_E_FLOAT
 #include <boost/multiprecision/e_float.hpp>


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