Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74514 - in sandbox/multiprecision: boost libs/build libs/example libs/src/backends/float libs/src/backends/float/efx libs/src/backends/float/gmp libs/src/backends/float/mpfr libs/src/functions/elementary libs/src/functions/zeta libs/test libs/test/imag/cases libs/test/naive_test libs/test/real/cases
From: e_float_at_[hidden]
Date: 2011-09-22 13:38:35


Author: christopher_kormanyos
Date: 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
New Revision: 74514
URL: http://svn.boost.org/trac/boost/changeset/74514

Log:
- Refined the name changes.
Text files modified:
   sandbox/multiprecision/boost/mp_complex.hpp | 4 +
   sandbox/multiprecision/boost/mp_float.hpp | 14 +++---
   sandbox/multiprecision/boost/mp_float_base.hpp | 86 ++++++++++++++++++++++++---------------
   sandbox/multiprecision/boost/mp_float_efx.hpp | 14 +++---
   sandbox/multiprecision/boost/mp_float_functions.hpp | 2
   sandbox/multiprecision/boost/mp_float_gmp.hpp | 12 ++--
   sandbox/multiprecision/boost/mp_float_mpfr.hpp | 12 ++--
   sandbox/multiprecision/libs/build/multiprecision.vcxproj | 24 +++++-----
   sandbox/multiprecision/libs/example/example_002_basic_usage_imag.cpp | 1
   sandbox/multiprecision/libs/example/example_008_gauss_laguerre.cpp | 1
   sandbox/multiprecision/libs/src/backends/float/efx/mp_float_efx.cpp | 62 ++++++++++++++--------------
   sandbox/multiprecision/libs/src/backends/float/gmp/mp_float_gmp.cpp | 58 +++++++++++++-------------
   sandbox/multiprecision/libs/src/backends/float/gmp/mp_float_gmp_protos.h | 6 +-
   sandbox/multiprecision/libs/src/backends/float/mp_float_base.cpp | 19 ++++----
   sandbox/multiprecision/libs/src/backends/float/mpfr/mp_float_mpfr.cpp | 6 +-
   sandbox/multiprecision/libs/src/backends/float/mpfr/mp_float_mpfr_protos.h | 6 +-
   sandbox/multiprecision/libs/src/functions/elementary/elementary_complex.cpp | 2
   sandbox/multiprecision/libs/src/functions/elementary/elementary_trig.cpp | 2
   sandbox/multiprecision/libs/src/functions/zeta/zeta.cpp | 6 +-
   sandbox/multiprecision/libs/test/imag/cases/test_case_02101_z_sin.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02102_z_cos.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02103_z_exp.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02104_z_log.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02105_z_sqrt.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02106_z_rootn.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02111_z_asin.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02112_z_acos.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02113_z_atan.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02114_z_various_trig.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02115_z_various_elem_trans_log.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02116_z_various_elem.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02121_z_sinh.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02122_z_cosh.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02123_z_tanh.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02124_z_asinh.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02125_z_acosh.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02126_z_atanh.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02201_z_gamma.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02202_z_gamma_medium_x.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02901_z_zeta_small_x.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02902_z_zeta_all_x.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02903_z_zeta_neg_x.cpp | 2
   sandbox/multiprecision/libs/test/imag/cases/test_case_02911_z_zeta_crit_strip.cpp | 2
   sandbox/multiprecision/libs/test/naive_test/naive_test.cpp | 38 ++++++++--------
   sandbox/multiprecision/libs/test/real/cases/test_case_0000x_overflow_underflow.cpp | 14 +++---
   sandbox/multiprecision/libs/test/real/cases/test_case_0000y_write_to_ostream.cpp | 12 ++--
   sandbox/multiprecision/libs/test/real/cases/test_case_0000z_global_ops_pod.cpp | 48 +++++++++++-----------
   sandbox/multiprecision/libs/test/real/cases/test_case_00011_various_elem_math.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00021_bernoulli.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00051_factorial.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00052_factorial2.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00071_various_int_func.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00101_sin.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00102_cos.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00103_exp.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00104_log.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00105_sqrt.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00106_rootn.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00111_sin_small_x.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00112_cos_x_near_pi_half.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00113_atan_x_small_to_large.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00114_various_trig.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00115_various_elem_trans.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00121_sinh.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00122_cosh.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00123_tanh.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00124_asinh.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00125_acosh.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00126_atanh.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00201_gamma.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00202_gamma_medium_x.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00203_gamma_small_x.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00204_gamma_tiny_x.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00205_gamma_near_neg_n.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00221_various_gamma_func.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00901_zeta_small_x.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00902_zeta_all_x.cpp | 2
   sandbox/multiprecision/libs/test/real/cases/test_case_00903_zeta_neg_x.cpp | 2
   sandbox/multiprecision/libs/test/test_case_base.h | 16 +++---
   79 files changed, 301 insertions(+), 274 deletions(-)

Modified: sandbox/multiprecision/boost/mp_complex.hpp
==============================================================================
--- sandbox/multiprecision/boost/mp_complex.hpp (original)
+++ sandbox/multiprecision/boost/mp_complex.hpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -258,7 +258,9 @@
   {
     namespace multiprecision
     {
- inline std::ostream& operator<<(std::ostream& os, const mp_complex& z) { return os << '(' << z.real() << ',' << z.imag() << ')'; }
+ // Operations with I/O streams.
+ std::basic_ostream<char, std::char_traits<char> >& operator<<(std::basic_ostream<char, std::char_traits<char> >&, const mp_complex&);
+ std::basic_istream<char, std::char_traits<char> >& operator>>(std::basic_istream<char, std::char_traits<char> >&, mp_complex&);
 
       // Global unary operators of mp_float reference.
       inline mp_complex operator-(const mp_complex& u) { return mp_complex(-u.real(), -u.imag()); }

Modified: sandbox/multiprecision/boost/mp_float.hpp
==============================================================================
--- sandbox/multiprecision/boost/mp_float.hpp (original)
+++ sandbox/multiprecision/boost/mp_float.hpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -55,13 +55,13 @@
       static const bool is_bounded = true;
       static const bool is_modulo = false;
       static const bool is_iec559 = false;
- static const int digits = boost::multiprecision::mp_float::mp_digits;
- static const int digits10 = boost::multiprecision::mp_float::mp_digits10;
- static const int max_digits10 = boost::multiprecision::mp_float::mp_max_digits10;
- static const boost::int64_t min_exponent = boost::multiprecision::mp_float::mp_min_exp; // Type differs from int.
- static const boost::int64_t min_exponent10 = boost::multiprecision::mp_float::mp_min_exp10; // Type differs from int.
- static const boost::int64_t max_exponent = boost::multiprecision::mp_float::mp_max_exp; // Type differs from int.
- static const boost::int64_t max_exponent10 = boost::multiprecision::mp_float::mp_max_exp10; // Type differs from int.
+ static const int digits = boost::multiprecision::mp_float::mp_float_digits;
+ static const int digits10 = boost::multiprecision::mp_float::mp_float_digits10;
+ static const int max_digits10 = boost::multiprecision::mp_float::mp_float_max_digits10;
+ static const boost::int64_t min_exponent = boost::multiprecision::mp_float::mp_float_min_exp; // Type differs from int.
+ static const boost::int64_t min_exponent10 = boost::multiprecision::mp_float::mp_float_min_exp10; // Type differs from int.
+ static const boost::int64_t max_exponent = boost::multiprecision::mp_float::mp_float_max_exp; // Type differs from int.
+ static const boost::int64_t max_exponent10 = boost::multiprecision::mp_float::mp_float_max_exp10; // Type differs from int.
       static const int radix = boost::multiprecision::mp_float::mp_radix;
       static const std::float_round_style round_style = std::round_to_nearest;
       static const bool has_infinity = true;

Modified: sandbox/multiprecision/boost/mp_float_base.hpp
==============================================================================
--- sandbox/multiprecision/boost/mp_float_base.hpp (original)
+++ sandbox/multiprecision/boost/mp_float_base.hpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -11,13 +11,20 @@
 #ifndef _MP_FLOAT_BASE_2004_02_08_HPP_
   #define _MP_FLOAT_BASE_2004_02_08_HPP_
 
- #include <iostream>
   #include <limits>
   #include <string>
   #include <cmath>
 
   #include <boost/cstdint.hpp>
 
+ // Forward declaration of I/O streams to avoid #include <iostream>.
+ namespace std
+ {
+ template<class Elem> struct char_traits;
+ template<class Elem, class Traits> class basic_ostream;
+ template<class Elem, class Traits> class basic_istream;
+ }
+
   // Select the number of decimal digits in mp_float
   // by setting the value of BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_DIGITS10.
   // The supported range is 30-300.
@@ -54,11 +61,11 @@
       class mp_float_base
       {
       public:
- static const boost::int32_t mp_digits10_setting = BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_DIGITS10;
- static const boost::int32_t mp_digits10_limit = BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_DIGITS10_LIMIT;
- static const boost::int32_t mp_digits10 = ((mp_digits10_setting < static_cast<boost::int32_t>(30)) ? static_cast<boost::int32_t>(30) : ((mp_digits10_setting > mp_digits10_limit) ? mp_digits10_limit : mp_digits10_setting));
- static const boost::int32_t mp_digits10_extra = static_cast<boost::int32_t>(((static_cast<boost::int64_t>(mp_digits10) * 15LL) + 50LL) / 100LL);
- static const boost::int32_t mp_max_digits10 = static_cast<boost::int32_t>(mp_digits10 + ((mp_digits10_extra < static_cast<boost::int32_t>(5)) ? static_cast<boost::int32_t>(5) : ((mp_digits10_extra > static_cast<boost::int32_t>(30)) ? static_cast<boost::int32_t>(30) : mp_digits10_extra)));
+ static const boost::int32_t mp_float_digits10_setting = BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_DIGITS10;
+ static const boost::int32_t mp_float_digits10_limit = BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_DIGITS10_LIMIT;
+ static const boost::int32_t mp_float_digits10 = ((mp_float_digits10_setting < static_cast<boost::int32_t>(30)) ? static_cast<boost::int32_t>(30) : ((mp_float_digits10_setting > mp_float_digits10_limit) ? mp_float_digits10_limit : mp_float_digits10_setting));
+ static const boost::int32_t mp_float_digits10_extra = static_cast<boost::int32_t>(((static_cast<boost::int64_t>(mp_float_digits10) * 15LL) + 50LL) / 100LL);
+ static const boost::int32_t mp_float_max_digits10 = static_cast<boost::int32_t>(mp_float_digits10 + ((mp_float_digits10_extra < static_cast<boost::int32_t>(5)) ? static_cast<boost::int32_t>(5) : ((mp_float_digits10_extra > static_cast<boost::int32_t>(30)) ? static_cast<boost::int32_t>(30) : mp_float_digits10_extra)));
 
         virtual ~mp_float_base() { }
 
@@ -102,7 +109,7 @@
         virtual bool isone (void) const = 0;
         virtual bool isint (void) const = 0;
         virtual bool isneg (void) const = 0;
- bool ispos (void) const { return (!isneg()); }
+ bool ispos (void) const { return (isneg() == false); }
 
         // Operators pre-increment and pre-decrement.
         virtual mp_float_base& operator++(void) = 0;
@@ -195,36 +202,37 @@
       protected:
         inline mp_float_base();
 
- // Emphasize: This template class can be used with native floating-point
- // types like float, double and long double. Note: For long double,
- // you need to verify that the mantissa fits in unsigned long long.
- template<typename native_float_type>
- class native_float_parts
+ // Emphasize: This template can be used with built-in
+ // floating-point types like float, double and long double.
+ // Note: For long double, ensure that the mantissa fits in
+ // unsigned long long.
+ template<typename built_in_float_type>
+ class built_in_float_parts
         {
         public:
- native_float_parts(const native_float_type f) : u(0uLL), e(0) { make_parts(f); }
+ built_in_float_parts(const built_in_float_type f) : u(0uLL), e(0) { make_parts(f); }
 
           const unsigned long long& get_mantissa(void) const { return u; }
           const int& get_exponent(void) const { return e; }
 
         private:
- native_float_parts();
- native_float_parts(const native_float_parts&);
- const native_float_parts& operator=(const native_float_parts&);
+ built_in_float_parts();
+ built_in_float_parts(const built_in_float_parts&);
+ const built_in_float_parts& operator=(const built_in_float_parts&);
 
           unsigned long long u;
           int e;
 
- void make_parts(const native_float_type f)
+ void make_parts(const built_in_float_type f)
           {
- if(f == static_cast<native_float_type>(0.0)) { return; }
+ if(f == static_cast<built_in_float_type>(0.0)) { return; }
 
             // Get the fraction and base-2 exponent.
- native_float_type man = ::frexp(f, &e);
+ built_in_float_type man = ::frexp(f, &e);
 
             boost::uint32_t n2 = 0u;
 
- for(boost::uint32_t i = static_cast<boost::uint32_t>(0u); i < static_cast<boost::uint32_t>(std::numeric_limits<native_float_type>::digits); i++)
+ for(boost::uint32_t i = static_cast<boost::uint32_t>(0u); i < static_cast<boost::uint32_t>(std::numeric_limits<built_in_float_type>::digits); i++)
             {
               // Extract the mantissa of the floating-point type in base-2
               // (yes, one bit at a time) and store it in an unsigned long long.
@@ -232,45 +240,57 @@
               man *= 2;
 
               n2 = static_cast<boost::uint32_t>(man);
- man -= static_cast<native_float_type>(n2);
+ man -= static_cast<built_in_float_type>(n2);
 
               if(n2 != static_cast<boost::uint32_t>(0u))
               {
                 u |= 1u;
               }
 
- if(i < static_cast<boost::uint32_t>(std::numeric_limits<native_float_type>::digits - 1))
+ if(i < static_cast<boost::uint32_t>(std::numeric_limits<built_in_float_type>::digits - 1))
               {
                 u <<= 1u;
               }
             }
 
             // Ensure that the value is normalized and adjust the exponent.
- u |= static_cast<unsigned long long>(1uLL << (std::numeric_limits<native_float_type>::digits - 1));
+ u |= static_cast<unsigned long long>(1uLL << (std::numeric_limits<built_in_float_type>::digits - 1));
             e -= 1;
           }
         };
 
       private:
- static bool digits_match_lib_dll_is_ok;
+ static bool my_mp_float_digits10_do_match_those_of_lib_dll;
 
         virtual boost::int64_t get_order_exact(void) const = 0;
- virtual boost::int64_t get_order_fast(void) const = 0;
+ virtual boost::int64_t get_order_fast (void) const = 0;
         virtual void get_output_string(std::string& str, boost::int64_t& my_exp, const std::size_t number_of_digits) const = 0;
       };
+ }
+ }
 
- // Create a loud link error if the digits in the
- // mp_float headers mismatch those in a Lib or DLL.
- template<const boost::int32_t digits10> boost::int32_t digits_match_lib_dll(void); // There's no function body here.
- template<> boost::int32_t digits_match_lib_dll<mp_float_base::mp_digits10>(void); // The function body is in mp_float_base.cpp.
+ namespace boost
+ {
+ namespace multiprecision
+ {
+ // Operations with I/O streams.
+ std::basic_ostream<char, std::char_traits<char> >& operator<<(std::basic_ostream<char, std::char_traits<char> >&, const mp_float_base&);
+ std::basic_istream<char, std::char_traits<char> >& operator>>(std::basic_istream<char, std::char_traits<char> >&, mp_float_base&);
+
+ // Use a template function to create a loud link error if the digits
+ // in the mp_float headers mismatch those in a linked-to Lib or DLL.
+ template<const boost::int32_t my_mp_float_digits10>
+ boost::int_fast32_t template_mp_float_digits10_match_those_of_lib_dll(void);
+
+ // This is a specialization of the digit10-match template.
+ // There's no function body here, because it's in mp_float_base.cpp.
+ template<>
+ boost::int_fast32_t template_mp_float_digits10_match_those_of_lib_dll<mp_float_base::mp_float_digits10>(void);
 
       inline mp_float_base::mp_float_base()
       {
- digits_match_lib_dll_is_ok = (digits_match_lib_dll<mp_digits10>() == mp_digits10);
+ my_mp_float_digits10_do_match_those_of_lib_dll = (template_mp_float_digits10_match_those_of_lib_dll<mp_float_digits10>() == static_cast<boost::int_fast32_t>(mp_float_digits10));
       }
-
- std::ostream& operator<<(std::ostream& os, const mp_float_base& f);
- std::istream& operator>>(std::istream& is, mp_float_base& f);
     }
   }
 

Modified: sandbox/multiprecision/boost/mp_float_efx.hpp
==============================================================================
--- sandbox/multiprecision/boost/mp_float_efx.hpp (original)
+++ sandbox/multiprecision/boost/mp_float_efx.hpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -29,18 +29,18 @@
       {
       public:
         static const boost::int32_t mp_radix = static_cast<boost::int32_t>(10);
- static const boost::int32_t mp_digits = mp_digits10;
+ static const boost::int32_t mp_float_digits = mp_float_digits10;
 
- static const boost::int64_t mp_max_exp = static_cast<boost::int64_t>(+9223372036854775795LL);
- static const boost::int64_t mp_min_exp = static_cast<boost::int64_t>(-9223372036854775795LL);
- static const boost::int64_t mp_max_exp10 = static_cast<boost::int64_t>(+3063937869882635616LL); // Approx. [mp_max_exp / log10(2)], also an even multiple of 8
- static const boost::int64_t mp_min_exp10 = static_cast<boost::int64_t>(-3063937869882635616LL);
+ static const boost::int64_t mp_float_max_exp = static_cast<boost::int64_t>(+9223372036854775795LL);
+ static const boost::int64_t mp_float_min_exp = static_cast<boost::int64_t>(-9223372036854775795LL);
+ static const boost::int64_t mp_float_max_exp10 = static_cast<boost::int64_t>(+3063937869882635616LL); // Approx. [mp_float_max_exp / log10(2)], also an even multiple of 8
+ static const boost::int64_t mp_float_min_exp10 = static_cast<boost::int64_t>(-3063937869882635616LL);
 
         static const boost::int32_t mp_elem_digits10 = static_cast<boost::int32_t>(8);
 
       private:
- static const boost::int32_t mp_digits10_num_base = static_cast<boost::int32_t>((mp_max_digits10 / mp_elem_digits10) + (((mp_max_digits10 % mp_elem_digits10) != 0) ? 1 : 0));
- static const boost::int32_t mp_elem_number = static_cast<boost::int32_t>(mp_digits10_num_base + 2);
+ static const boost::int32_t mp_float_digits10_num_base = static_cast<boost::int32_t>((mp_float_max_digits10 / mp_elem_digits10) + (((mp_float_max_digits10 % mp_elem_digits10) != 0) ? 1 : 0));
+ static const boost::int32_t mp_elem_number = static_cast<boost::int32_t>(mp_float_digits10_num_base + 2);
 
         typedef enum enum_fpclass
         {

Modified: sandbox/multiprecision/boost/mp_float_functions.hpp
==============================================================================
--- sandbox/multiprecision/boost/mp_float_functions.hpp (original)
+++ sandbox/multiprecision/boost/mp_float_functions.hpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -22,7 +22,7 @@
     namespace multiprecision
     {
       inline boost::int32_t max_iteration(void) { return static_cast<boost::int32_t>(10000); }
- inline boost::int64_t tol (void) { return static_cast<boost::int64_t>(boost::multiprecision::mp_float::mp_max_digits10); }
+ inline boost::int64_t tol (void) { return static_cast<boost::int64_t>(boost::multiprecision::mp_float::mp_float_max_digits10); }
 
       inline boost::multiprecision::mp_float fabs(const boost::multiprecision::mp_float& x) { return (x.isneg() ? boost::multiprecision::mp_float(x).negate() : x); }
 

Modified: sandbox/multiprecision/boost/mp_float_gmp.hpp
==============================================================================
--- sandbox/multiprecision/boost/mp_float_gmp.hpp (original)
+++ sandbox/multiprecision/boost/mp_float_gmp.hpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -54,16 +54,16 @@
       class mp_float_gmp : public mp_float_base
       {
       public:
- static const boost::int32_t mp_digits = static_cast<boost::int32_t>((static_cast<signed long long>(mp_digits10) * 2136LL) / 643LL);
+ static const boost::int32_t mp_float_digits = static_cast<boost::int32_t>((static_cast<signed long long>(mp_float_digits10) * 2136LL) / 643LL);
         static const boost::int32_t mp_radix = static_cast<boost::int32_t>(2);
 
- static const boost::int64_t mp_max_exp = static_cast<boost::int64_t>(LONG_MAX - 31LL); // TBD: Ensure that (boost::int64_t >= long)
- static const boost::int64_t mp_min_exp = static_cast<boost::int64_t>(LONG_MIN + 31LL); // TBD: Ensure that (boost::int64_t >= long)
- static const boost::int64_t mp_max_exp10 = static_cast<boost::int64_t>((static_cast<signed long long>(mp_max_exp) * 643LL) / 2136LL);
- static const boost::int64_t mp_min_exp10 = static_cast<boost::int64_t>((static_cast<signed long long>(mp_min_exp) * 643LL) / 2136LL);
+ static const boost::int64_t mp_float_max_exp = static_cast<boost::int64_t>(LONG_MAX - 31LL); // TBD: Ensure that (boost::int64_t >= long)
+ static const boost::int64_t mp_float_min_exp = static_cast<boost::int64_t>(LONG_MIN + 31LL); // TBD: Ensure that (boost::int64_t >= long)
+ static const boost::int64_t mp_float_max_exp10 = static_cast<boost::int64_t>((static_cast<signed long long>(mp_float_max_exp) * 643LL) / 2136LL);
+ static const boost::int64_t mp_float_min_exp10 = static_cast<boost::int64_t>((static_cast<signed long long>(mp_float_min_exp) * 643LL) / 2136LL);
 
       private:
- static const boost::int32_t mp_digits2 = static_cast<boost::int32_t>((static_cast<signed long long>(mp_max_digits10) * 2136LL) / 643LL);
+ static const boost::int32_t mp_float_digits2 = static_cast<boost::int32_t>((static_cast<signed long long>(mp_float_max_digits10) * 2136LL) / 643LL);
 
         typedef enum enum_fpclass
         {

Modified: sandbox/multiprecision/boost/mp_float_mpfr.hpp
==============================================================================
--- sandbox/multiprecision/boost/mp_float_mpfr.hpp (original)
+++ sandbox/multiprecision/boost/mp_float_mpfr.hpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -62,16 +62,16 @@
       class mp_float_mpfr : public mp_float_base
       {
       public:
- static const boost::int32_t mp_digits = static_cast<boost::int32_t>((static_cast<signed long long>(mp_digits10) * 2136LL) / 643LL);
+ static const boost::int32_t mp_float_digits = static_cast<boost::int32_t>((static_cast<signed long long>(mp_float_digits10) * 2136LL) / 643LL);
         static const boost::int32_t mp_radix = 2;
 
- static const boost::int64_t mp_max_exp = static_cast<boost::int64_t>(LONG_MAX / static_cast<signed long>(2L)); // TBD: Ensure that (boost::int64_t >= long)
- static const boost::int64_t mp_min_exp = static_cast<boost::int64_t>(LONG_MIN / static_cast<signed long>(2L)); // TBD: Ensure that (boost::int64_t >= long)
- static const boost::int64_t mp_max_exp10 = static_cast<boost::int64_t>((static_cast<signed long long>(mp_max_exp) * 643LL) / 2136LL);
- static const boost::int64_t mp_min_exp10 = static_cast<boost::int64_t>((static_cast<signed long long>(mp_min_exp) * 643LL) / 2136LL);
+ static const boost::int64_t mp_float_max_exp = static_cast<boost::int64_t>(LONG_MAX / static_cast<signed long>(2L)); // TBD: Ensure that (boost::int64_t >= long)
+ static const boost::int64_t mp_float_min_exp = static_cast<boost::int64_t>(LONG_MIN / static_cast<signed long>(2L)); // TBD: Ensure that (boost::int64_t >= long)
+ static const boost::int64_t mp_float_max_exp10 = static_cast<boost::int64_t>((static_cast<signed long long>(mp_float_max_exp) * 643LL) / 2136LL);
+ static const boost::int64_t mp_float_min_exp10 = static_cast<boost::int64_t>((static_cast<signed long long>(mp_float_min_exp) * 643LL) / 2136LL);
 
       private:
- static const boost::int32_t mp_digits2 = static_cast<boost::int32_t>((static_cast<signed long long>(mp_max_digits10) * 2136LL) / 643LL);
+ static const boost::int32_t mp_float_digits2 = static_cast<boost::int32_t>((static_cast<signed long long>(mp_float_max_digits10) * 2136LL) / 643LL);
         ::mpfr_t rop;
 
       public:

Modified: sandbox/multiprecision/libs/build/multiprecision.vcxproj
==============================================================================
--- sandbox/multiprecision/libs/build/multiprecision.vcxproj (original)
+++ sandbox/multiprecision/libs/build/multiprecision.vcxproj 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -242,7 +242,7 @@
       <Optimization>MaxSpeed</Optimization>
       <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
       <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
- <AdditionalIncludeDirectories>$(SolutionDir)../../../;$(SolutionDir)../../../../boost/boost_1_47;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(SolutionDir)../../../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_DIGITS10=50;NDEBUG;_CONSOLE;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_TYPE_GMP;_SECURE_SCL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
       <PrecompiledHeader>
@@ -285,7 +285,7 @@
       <Optimization>MaxSpeed</Optimization>
       <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
       <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
- <AdditionalIncludeDirectories>$(SolutionDir)../../../;$(SolutionDir)../../../../boost/boost_1_47;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(SolutionDir)../../../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_DIGITS10=50;NDEBUG;_CONSOLE;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_TYPE_GMP;_SECURE_SCL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
       <PrecompiledHeader>
@@ -327,7 +327,7 @@
       <Optimization>MaxSpeed</Optimization>
       <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
       <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
- <AdditionalIncludeDirectories>$(SolutionDir)../../../;$(SolutionDir)../../../../boost/boost_1_47;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(SolutionDir)../../../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_DIGITS10=50;NDEBUG;_CONSOLE;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_TYPE_EFX;_SECURE_SCL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
       <PrecompiledHeader>
@@ -369,7 +369,7 @@
       <Optimization>MaxSpeed</Optimization>
       <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
       <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
- <AdditionalIncludeDirectories>$(SolutionDir)../../../;$(SolutionDir)../../../../boost/boost_1_47;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(SolutionDir)../../../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_DIGITS10=50;NDEBUG;_CONSOLE;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_TYPE_EFX;_SECURE_SCL= 0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
       <PrecompiledHeader>
@@ -409,7 +409,7 @@
     </Midl>
     <ClCompile>
       <Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>$(SolutionDir)../../../;$(SolutionDir)../../../../boost/boost_1_47;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(SolutionDir)../../../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_DIGITS10=50;_DEBUG;_CONSOLE;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_TYPE_GMP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
       <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
@@ -456,7 +456,7 @@
     </Midl>
     <ClCompile>
       <Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>$(SolutionDir)../../../;$(SolutionDir)../../../../boost/boost_1_47;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(SolutionDir)../../../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_DIGITS10=50;_DEBUG;_CONSOLE;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_TYPE_GMP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
       <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
@@ -502,7 +502,7 @@
     </Midl>
     <ClCompile>
       <Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>$(SolutionDir)../../../;$(SolutionDir)../../../../boost/boost_1_47;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(SolutionDir)../../../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_DIGITS10=50;_DEBUG;_CONSOLE;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_TYPE_EFX;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
       <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
@@ -547,7 +547,7 @@
     </Midl>
     <ClCompile>
       <Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>$(SolutionDir)../../../;$(SolutionDir)../../../../boost/boost_1_47;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(SolutionDir)../../../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_DIGITS10=50;_DEBUG;_CONSOLE;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_TYPE_EFX;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
       <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
@@ -593,7 +593,7 @@
       <Optimization>MaxSpeed</Optimization>
       <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
       <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
- <AdditionalIncludeDirectories>$(SolutionDir)../../../;$(SolutionDir)../../../../boost/boost_1_47;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(SolutionDir)../../../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_DIGITS10=50;NDEBUG;_CONSOLE;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_TYPE_MPFR;_SECURE_SCL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
       <PrecompiledHeader>
@@ -636,7 +636,7 @@
       <Optimization>MaxSpeed</Optimization>
       <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
       <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
- <AdditionalIncludeDirectories>$(SolutionDir)../../../;$(SolutionDir)../../../../boost/boost_1_47;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(SolutionDir)../../../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_DIGITS10=50;NDEBUG;_CONSOLE;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_TYPE_MPFR;_SECURE_SCL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
       <PrecompiledHeader>
@@ -676,7 +676,7 @@
     </Midl>
     <ClCompile>
       <Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>$(SolutionDir)../../../;$(SolutionDir)../../../../boost/boost_1_47;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(SolutionDir)../../../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_DIGITS10=50;_DEBUG;_CONSOLE;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_TYPE_MPFR;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
       <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
@@ -724,7 +724,7 @@
     </Midl>
     <ClCompile>
       <Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>$(SolutionDir)../../../;$(SolutionDir)../../../../boost/boost_1_47;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(SolutionDir)../../../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_DIGITS10=50;_DEBUG;_CONSOLE;BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_TYPE_MPFR;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
       <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>

Modified: sandbox/multiprecision/libs/example/example_002_basic_usage_imag.cpp
==============================================================================
--- sandbox/multiprecision/libs/example/example_002_basic_usage_imag.cpp (original)
+++ sandbox/multiprecision/libs/example/example_002_basic_usage_imag.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -9,6 +9,7 @@
 // in ACM TOMS, {VOL 37, ISSUE 4, (February 2011)} (C) ACM, 2011. http://doi.acm.org/10.1145/1916461.1916469
 
 #include <vector>
+#include <iostream>
 #include <fstream>
 #include <algorithm>
 #include <iterator>

Modified: sandbox/multiprecision/libs/example/example_008_gauss_laguerre.cpp
==============================================================================
--- sandbox/multiprecision/libs/example/example_008_gauss_laguerre.cpp (original)
+++ sandbox/multiprecision/libs/example/example_008_gauss_laguerre.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -8,6 +8,7 @@
 // "Algorithm 910: A Portable C++ Multiple-Precision System for Special-Function Calculations",
 // in ACM TOMS, {VOL 37, ISSUE 4, (February 2011)} (C) ACM, 2011. http://doi.acm.org/10.1145/1916461.1916469
 
+#include <iostream>
 #include <vector>
 
 #include <boost/multiprecision/mp_float.hpp>

Modified: sandbox/multiprecision/libs/src/backends/float/efx/mp_float_efx.cpp
==============================================================================
--- sandbox/multiprecision/libs/src/backends/float/efx/mp_float_efx.cpp (original)
+++ sandbox/multiprecision/libs/src/backends/float/efx/mp_float_efx.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -9,7 +9,7 @@
 // in ACM TOMS, {VOL 37, ISSUE 4, (February 2011)} (C) ACM, 2011. http://doi.acm.org/10.1145/1916461.1916469
 
 // *****************************************************************************
-// Filename : e_float_efx.cpp
+// Filename : mp_float_efx.cpp
 //
 // Project : Multiple precision mathematics
 //
@@ -123,10 +123,10 @@
 }
 
 mp_float_efx::mp_float_efx(const signed long long n) : data (),
- exp (static_cast<boost::int64_t>(0)),
- neg (n < static_cast<signed long long>(0)),
- fpclass (mp_finite),
- prec_elem(mp_elem_number)
+ exp (static_cast<boost::int64_t>(0)),
+ neg (n < static_cast<signed long long>(0)),
+ fpclass (mp_finite),
+ prec_elem(mp_elem_number)
 {
   from_unsigned_long_long((!neg) ? static_cast<unsigned long long>(n) : static_cast<unsigned long long>(-n));
 }
@@ -160,7 +160,7 @@
     return;
   }
 
- const native_float_parts<float> fb((!b_neg) ? f : -f);
+ const built_in_float_parts<float> fb((!b_neg) ? f : -f);
 
   // Create an mp_float_efx from the fractional part of the
   // mantissa expressed as an unsigned long long.
@@ -176,10 +176,10 @@
 }
 
 mp_float_efx::mp_float_efx(const double d) : data (),
- exp (static_cast<boost::int64_t>(0)),
- neg (false),
- fpclass (mp_finite),
- prec_elem(mp_elem_number)
+ exp (static_cast<boost::int64_t>(0)),
+ neg (false),
+ fpclass (mp_finite),
+ prec_elem(mp_elem_number)
 {
   const bool b_neg = (d < 0.0);
 
@@ -195,7 +195,7 @@
     return;
   }
 
- const native_float_parts<double> db((!b_neg) ? d : -d);
+ const built_in_float_parts<double> db((!b_neg) ? d : -d);
 
   // Create an mp_float_efx from the fractional part of the
   // mantissa expressed as an unsigned long long.
@@ -211,10 +211,10 @@
 }
 
 mp_float_efx::mp_float_efx(const long double ld) : data (),
- exp (static_cast<boost::int64_t>(0)),
- neg (false),
- fpclass (mp_finite),
- prec_elem(mp_elem_number)
+ exp (static_cast<boost::int64_t>(0)),
+ neg (false),
+ fpclass (mp_finite),
+ prec_elem(mp_elem_number)
 {
   const bool b_neg = (ld < static_cast<long double>(0.0));
 
@@ -230,7 +230,7 @@
     return;
   }
 
- const native_float_parts<long double> ldb((!b_neg) ? ld : -ld);
+ const built_in_float_parts<long double> ldb((!b_neg) ? ld : -ld);
 
   // Create an mp_float_efx from the fractional part of the
   // mantissa expressed as an unsigned long long.
@@ -246,10 +246,10 @@
 }
 
 mp_float_efx::mp_float_efx(const char* const s) : data (),
- exp (static_cast<boost::int64_t>(0)),
- neg (false),
- fpclass (mp_finite),
- prec_elem(mp_elem_number)
+ exp (static_cast<boost::int64_t>(0)),
+ neg (false),
+ fpclass (mp_finite),
+ prec_elem(mp_elem_number)
 {
   if(!rd_string(s))
   {
@@ -261,10 +261,10 @@
 }
 
 mp_float_efx::mp_float_efx(const std::string& str) : data (),
- exp (static_cast<boost::int64_t>(0)),
- neg (false),
- fpclass (mp_finite),
- prec_elem(mp_elem_number)
+ exp (static_cast<boost::int64_t>(0)),
+ neg (false),
+ fpclass (mp_finite),
+ prec_elem(mp_elem_number)
 {
   if(!rd_string(str.c_str()))
   {
@@ -276,11 +276,11 @@
 }
 
 mp_float_efx::mp_float_efx(const double mantissa,
- const boost::int64_t exponent) : data (),
- exp (static_cast<boost::int64_t>(0)),
- neg (false),
- fpclass (mp_finite),
- prec_elem(mp_elem_number)
+ const boost::int64_t exponent) : data (),
+ exp (static_cast<boost::int64_t>(0)),
+ neg (false),
+ fpclass (mp_finite),
+ prec_elem(mp_elem_number)
 {
   // Create an mp_float_efx from mantissa and exponent.
   // This ctor does not maintain the full precision of double.
@@ -433,7 +433,7 @@
 
 void mp_float_efx::precision(const boost::int32_t prec_digits)
 {
- if(prec_digits >= mp_digits10)
+ if(prec_digits >= mp_float_digits10)
   {
     prec_elem = mp_elem_number;
   }
@@ -711,7 +711,7 @@
     const boost::int64_t v_exp = ((!v_exp_is_neg) ? v.exp : static_cast<boost::int64_t>(-v.exp));
 
     // Check the range of the upcoming multiplication.
- const bool b_result_is_out_of_range = (v_exp >= static_cast<boost::int64_t>(mp_max_exp10 - u_exp));
+ const bool b_result_is_out_of_range = (v_exp >= static_cast<boost::int64_t>(mp_float_max_exp10 - u_exp));
 
     if(b_result_is_out_of_range)
     {

Modified: sandbox/multiprecision/libs/src/backends/float/gmp/mp_float_gmp.cpp
==============================================================================
--- sandbox/multiprecision/libs/src/backends/float/gmp/mp_float_gmp.cpp (original)
+++ sandbox/multiprecision/libs/src/backends/float/gmp/mp_float_gmp.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -51,33 +51,33 @@
   if(precision_is_initialized == false)
   {
     precision_is_initialized = true;
- ::mpf_set_default_prec(static_cast<unsigned long>(mp_digits2 + static_cast<boost::int32_t>(4)));
+ ::mpf_set_default_prec(static_cast<unsigned long>(mp_float_digits2 + static_cast<boost::int32_t>(4)));
   }
 }
 
 const boost::int64_t& mp_float_gmp::max_exp2(void)
 {
- static const boost::int64_t val_max_exp2 = static_cast<boost::int64_t>(static_cast<double>(mp_max_exp10) / ::d_log2());
+ static const boost::int64_t val_max_exp2 = static_cast<boost::int64_t>(static_cast<double>(mp_float_max_exp10) / ::d_log2());
   return val_max_exp2;
 }
 
 const boost::int64_t& mp_float_gmp::min_exp2(void)
 {
- static const boost::int64_t val_min_exp2 = static_cast<boost::int64_t>(static_cast<double>(mp_min_exp10) / ::d_log2());
+ static const boost::int64_t val_min_exp2 = static_cast<boost::int64_t>(static_cast<double>(mp_float_min_exp10) / ::d_log2());
   return val_min_exp2;
 }
 
 
 
 mp_float_gmp::mp_float_gmp() : fpclass (mp_finite),
- prec_elem(mp_max_digits10)
+ prec_elem(mp_float_max_digits10)
 {
   init();
   ::mpf_init(rop);
 }
 
 mp_float_gmp::mp_float_gmp(const char n) : fpclass (mp_finite),
- prec_elem(mp_max_digits10)
+ prec_elem(mp_float_max_digits10)
 {
   init();
   const bool b_neg = (std::numeric_limits<char>::is_signed ? (n < static_cast<char>(0)) : false);
@@ -86,7 +86,7 @@
 }
 
 mp_float_gmp::mp_float_gmp(const wchar_t n) : fpclass (mp_finite),
- prec_elem(mp_max_digits10)
+ prec_elem(mp_float_max_digits10)
 {
   init();
   const bool b_neg = (std::numeric_limits<wchar_t>::is_signed ? (n < static_cast<wchar_t>(0)) : false);
@@ -95,7 +95,7 @@
 }
 
 mp_float_gmp::mp_float_gmp(const signed char n) : fpclass (mp_finite),
- prec_elem(mp_max_digits10)
+ prec_elem(mp_float_max_digits10)
 {
   init();
   const bool b_neg = (n < static_cast<signed char>(0));
@@ -104,7 +104,7 @@
 }
 
 mp_float_gmp::mp_float_gmp(const signed short n) : fpclass (mp_finite),
- prec_elem(mp_max_digits10)
+ prec_elem(mp_float_max_digits10)
 {
   init();
   const bool b_neg = (n < static_cast<signed short>(0));
@@ -113,7 +113,7 @@
 }
 
 mp_float_gmp::mp_float_gmp(const signed int n) : fpclass (mp_finite),
- prec_elem(mp_max_digits10)
+ prec_elem(mp_float_max_digits10)
 {
   init();
   const bool b_neg = (n < static_cast<signed int>(0));
@@ -122,7 +122,7 @@
 }
 
 mp_float_gmp::mp_float_gmp(const signed long n) : fpclass (mp_finite),
- prec_elem(mp_max_digits10)
+ prec_elem(mp_float_max_digits10)
 {
   init();
   const bool b_neg = (n < static_cast<signed long>(0));
@@ -131,7 +131,7 @@
 }
 
 mp_float_gmp::mp_float_gmp(const signed long long n) : fpclass (mp_finite),
- prec_elem(mp_max_digits10)
+ prec_elem(mp_float_max_digits10)
 {
   init();
   const bool b_neg = (n < static_cast<signed long long>(0));
@@ -140,42 +140,42 @@
 }
 
 mp_float_gmp::mp_float_gmp(const unsigned char n) : fpclass (mp_finite),
- prec_elem(mp_max_digits10)
+ prec_elem(mp_float_max_digits10)
 {
   init();
   from_unsigned_long(static_cast<unsigned long>(n));
 }
 
 mp_float_gmp::mp_float_gmp(const unsigned short n) : fpclass (mp_finite),
- prec_elem(mp_max_digits10)
+ prec_elem(mp_float_max_digits10)
 {
   init();
   from_unsigned_long(static_cast<unsigned long>(n));
 }
 
 mp_float_gmp::mp_float_gmp(const unsigned int n) : fpclass (mp_finite),
- prec_elem(mp_max_digits10)
+ prec_elem(mp_float_max_digits10)
 {
   init();
   from_unsigned_long(static_cast<unsigned long>(n));
 }
 
 mp_float_gmp::mp_float_gmp(const unsigned long n) : fpclass (mp_finite),
- prec_elem(mp_max_digits10)
+ prec_elem(mp_float_max_digits10)
 {
   init();
   from_unsigned_long(static_cast<unsigned long>(n));
 }
 
 mp_float_gmp::mp_float_gmp(const unsigned long long n) : fpclass (mp_finite),
- prec_elem(mp_max_digits10)
+ prec_elem(mp_float_max_digits10)
 {
   init();
   from_unsigned_long_long(static_cast<unsigned long long>(n));
 }
 
 mp_float_gmp::mp_float_gmp(const float f) : fpclass (mp_finite),
- prec_elem(mp_max_digits10)
+ prec_elem(mp_float_max_digits10)
 {
   init();
 
@@ -187,7 +187,7 @@
     return;
   }
 
- const native_float_parts<float> fb((!b_neg) ? f : -f);
+ const built_in_float_parts<float> fb((!b_neg) ? f : -f);
 
   // Create an mp_float_gmp from the fractional part of the
   // mantissa expressed as an unsigned long long.
@@ -206,14 +206,14 @@
 }
 
 mp_float_gmp::mp_float_gmp(const double d) : fpclass (mp_finite),
- prec_elem(mp_max_digits10)
+ prec_elem(mp_float_max_digits10)
 {
   init();
   ::mpf_init_set_d(rop, d);
 }
 
 mp_float_gmp::mp_float_gmp(const long double ld) : fpclass (mp_finite),
- prec_elem(mp_max_digits10)
+ prec_elem(mp_float_max_digits10)
 {
   init();
 
@@ -225,7 +225,7 @@
     return;
   }
 
- const native_float_parts<long double> fb((!b_neg) ? ld : -ld);
+ const built_in_float_parts<long double> fb((!b_neg) ? ld : -ld);
 
   // Create an mp_float_gmp from the fractional part of the
   // mantissa expressed as an unsigned long long.
@@ -244,14 +244,14 @@
 }
 
 mp_float_gmp::mp_float_gmp(const char* const s) : fpclass (mp_finite),
- prec_elem(mp_max_digits10)
+ prec_elem(mp_float_max_digits10)
 {
   init();
   static_cast<void>(rd_string(s));
 }
 
 mp_float_gmp::mp_float_gmp(const std::string& str) : fpclass (mp_finite),
- prec_elem(mp_max_digits10)
+ prec_elem(mp_float_max_digits10)
 {
   init();
   static_cast<void>(rd_string(str.c_str()));
@@ -265,7 +265,7 @@
 }
 
 mp_float_gmp::mp_float_gmp(const double mantissa, const boost::int64_t exponent) : fpclass (mp_finite),
- prec_elem(mp_max_digits10)
+ prec_elem(mp_float_max_digits10)
 {
   init();
 
@@ -291,7 +291,7 @@
 }
 
 mp_float_gmp::mp_float_gmp(const ::mpf_t& op) : fpclass (mp_finite),
- prec_elem(mp_max_digits10)
+ prec_elem(mp_float_max_digits10)
 {
   init();
   ::mpf_init_set(rop, op);
@@ -299,7 +299,7 @@
 
 mp_float_gmp::~mp_float_gmp()
 {
- ::mpf_set_prec_raw(rop, static_cast<unsigned long int>(mp_digits2));
+ ::mpf_set_prec_raw(rop, static_cast<unsigned long int>(mp_float_digits2));
   ::mpf_clear(rop);
 }
 
@@ -323,7 +323,7 @@
 void mp_float_gmp::precision(const boost::int32_t prec_digits)
 {
   const unsigned long int digits2_request = static_cast<unsigned long int>(static_cast<boost::uint64_t>(static_cast<double>(prec_digits) / ::d_log2()));
- const unsigned long int d2 = static_cast<unsigned long int>(mp_digits2);
+ const unsigned long int d2 = static_cast<unsigned long int>(mp_float_digits2);
   const unsigned long int digits2_set = (std::min)(digits2_request, d2);
 
   prec_elem = static_cast<boost::int32_t>(static_cast<boost::int64_t>(static_cast<double>(digits2_set) * ::d_log2()));
@@ -424,7 +424,7 @@
     const boost::int64_t v_exp2 = ((!v_exp2_is_neg) ? v_exp2_signed : -v_exp2_signed);
 
     // Check the range of the upcoming multiplication.
- const bool b_result_is_out_of_range = (v_exp2 >= static_cast<long>(static_cast<long>(mp_max_exp) - u_exp2));
+ const bool b_result_is_out_of_range = (v_exp2 >= static_cast<long>(static_cast<long>(mp_float_max_exp) - u_exp2));
 
     if(b_result_is_out_of_range)
     {
@@ -1032,7 +1032,7 @@
   const std::string str_fmt = std::string("%.") + (boost::lexical_cast<std::string>(the_number_of_digits_scientific) + "Fe");
 
   // Get the string representation of the mp_float_gmp in scientific notation (lowercase, noshowpos).
- boost::array<char, static_cast<std::size_t>(mp_float_gmp::mp_max_digits10 + 32)> buf = {{ static_cast<char>('0') }};
+ boost::array<char, static_cast<std::size_t>(mp_float_gmp::mp_float_max_digits10 + 32)> buf = {{ static_cast<char>('0') }};
 
   static_cast<void>(gmp_sprintf(buf.data(), str_fmt.c_str(), rop));
 

Modified: sandbox/multiprecision/libs/src/backends/float/gmp/mp_float_gmp_protos.h
==============================================================================
--- sandbox/multiprecision/libs/src/backends/float/gmp/mp_float_gmp_protos.h (original)
+++ sandbox/multiprecision/libs/src/backends/float/gmp/mp_float_gmp_protos.h 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -8,8 +8,8 @@
 // "Algorithm 910: A Portable C++ Multiple-Precision System for Special-Function Calculations",
 // in ACM TOMS, {VOL 37, ISSUE 4, (February 2011)} (C) ACM, 2011. http://doi.acm.org/10.1145/1916461.1916469
 
-#ifndef _E_FLOAT_GMP_PROTOS_2009_05_02_H_
- #define _E_FLOAT_GMP_PROTOS_2009_05_02_H_
+#ifndef _MP_FLOAT_GMP_PROTOS_2009_05_02_H_
+ #define _MP_FLOAT_GMP_PROTOS_2009_05_02_H_
 
   // Wrap the function names of GMP.
   extern "C"
@@ -70,4 +70,4 @@
   inline char* mpf_get_str (char* str, mp_exp_t* e, int i, size_t s, mpf_srcptr x) { return ::__gmpf_get_str (str, e, i, s, x); }
   #define gmp_sprintf __gmp_sprintf
 
-#endif // _E_FLOAT_GMP_PROTOS_2009_05_02_H_
+#endif // _MP_FLOAT_GMP_PROTOS_2009_05_02_H_

Modified: sandbox/multiprecision/libs/src/backends/float/mp_float_base.cpp
==============================================================================
--- sandbox/multiprecision/libs/src/backends/float/mp_float_base.cpp (original)
+++ sandbox/multiprecision/libs/src/backends/float/mp_float_base.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -8,6 +8,7 @@
 // "Algorithm 910: A Portable C++ Multiple-Precision System for Special-Function Calculations",
 // in ACM TOMS, {VOL 37, ISSUE 4, (February 2011)} (C) ACM, 2011. http://doi.acm.org/10.1145/1916461.1916469
 
+#include <iostream>
 #include <algorithm>
 
 #include <boost/multiprecision/mp_float.hpp>
@@ -47,11 +48,11 @@
   void special_extend_string_to_precision(std::string& str, const std::size_t os_precision);
 }
 
-bool mp_float_base::digits_match_lib_dll_is_ok;
+bool mp_float_base::my_mp_float_digits10_do_match_those_of_lib_dll;
 
 // Create a loud link error if the digits in the
 // mp_float headers mismatch those in a Lib or DLL.
-template<> boost::int32_t boost::multiprecision::digits_match_lib_dll<mp_float_base::mp_digits10>(void) { return mp_float_base::mp_digits10; }
+template<> boost::int_fast32_t boost::multiprecision::template_mp_float_digits10_match_those_of_lib_dll<mp_float_base::mp_float_digits10>(void) { return mp_float_base::mp_float_digits10; }
 
 std::ostream& boost::multiprecision::operator<<(std::ostream& os, const mp_float_base& f)
 {
@@ -70,7 +71,7 @@
 
 const mp_float& mp_float_base::my_value_max(void) const
 {
- static const std::string str_max = std::string("9." + std::string(static_cast<std::size_t>(mp_max_digits10), static_cast<char>('9')))
+ static const std::string str_max = std::string("9." + std::string(static_cast<std::size_t>(mp_float_max_digits10), static_cast<char>('9')))
                                      + std::string("e+" + boost::lexical_cast<std::string>(std::numeric_limits<mp_float>::max_exponent10));
   static const mp_float val_max(str_max);
   return val_max;
@@ -182,7 +183,7 @@
   }
 
   // Ascertain the number of digits requested from mp_float.
- std::size_t the_number_of_digits_i_want_from_e_float = static_cast<std::size_t>(0u);
+ std::size_t the_number_of_digits_i_want_from_mp_float = static_cast<std::size_t>(0u);
   const std::size_t max10_plus_one = static_cast<std::size_t>(std::numeric_limits<mp_float>::max_digits10 + 1);
 
   if(use_scientific)
@@ -190,7 +191,7 @@
     // The float-field is scientific. The number of digits is given by
     // (1 + the ostream's precision), not to exceed (max_digits10 + 1).
     const std::size_t prec_plus_one = static_cast<std::size_t>(1u + os_precision);
- the_number_of_digits_i_want_from_e_float = (std::min)(max10_plus_one, prec_plus_one);
+ the_number_of_digits_i_want_from_mp_float = (std::min)(max10_plus_one, prec_plus_one);
   }
   else if(use_fixed)
   {
@@ -205,14 +206,14 @@
       const std::size_t exp_plus_one = static_cast<std::size_t>(my_exp + 1);
       const std::size_t exp_plus_one_plus_my_precision = static_cast<std::size_t>(exp_plus_one + os_precision);
 
- the_number_of_digits_i_want_from_e_float = (std::min)(exp_plus_one_plus_my_precision, max10_plus_one);
+ the_number_of_digits_i_want_from_mp_float = (std::min)(exp_plus_one_plus_my_precision, max10_plus_one);
     }
     else
     {
       const boost::int64_t exp_plus_one = static_cast<boost::int64_t>(my_exp + 1);
       const boost::int64_t exp_plus_one_plus_my_precision = static_cast<boost::int64_t>(exp_plus_one + static_cast<boost::int64_t>(os_precision));
 
- the_number_of_digits_i_want_from_e_float = (std::min)(static_cast<std::size_t>((std::max)(exp_plus_one_plus_my_precision, static_cast<boost::int64_t>(0))), max10_plus_one);
+ the_number_of_digits_i_want_from_mp_float = (std::min)(static_cast<std::size_t>((std::max)(exp_plus_one_plus_my_precision, static_cast<boost::int64_t>(0))), max10_plus_one);
     }
   }
 
@@ -222,11 +223,11 @@
   if(my_float_field == os_float_field_none)
   {
     const std::size_t max_digits = (std::min)(os_precision, static_cast<std::size_t>(std::numeric_limits<mp_float>::max_digits10));
- the_number_of_digits_i_want_from_e_float = (std::min)(the_number_of_digits_i_want_from_e_float, max_digits);
+ the_number_of_digits_i_want_from_mp_float = (std::min)(the_number_of_digits_i_want_from_mp_float, max_digits);
   }
 
   // Extract the rounded output string with the desired number of digits.
- get_output_string(str, my_exp, the_number_of_digits_i_want_from_e_float);
+ get_output_string(str, my_exp, the_number_of_digits_i_want_from_mp_float);
 
   // Obtain additional format information.
   const bool my_showpoint = ((my_flags & std::ios::showpoint) != static_cast<std::ios::fmtflags>(0u));

Modified: sandbox/multiprecision/libs/src/backends/float/mpfr/mp_float_mpfr.cpp
==============================================================================
--- sandbox/multiprecision/libs/src/backends/float/mpfr/mp_float_mpfr.cpp (original)
+++ sandbox/multiprecision/libs/src/backends/float/mpfr/mp_float_mpfr.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -37,7 +37,7 @@
   if(precision_is_initialized == false)
   {
     precision_is_initialized = true;
- ::mpfr_set_default_prec(static_cast<mp_prec_t>(mp_digits2 + static_cast<boost::int32_t>(4)));
+ ::mpfr_set_default_prec(static_cast<mp_prec_t>(mp_float_digits2 + static_cast<boost::int32_t>(4)));
   }
 }
 
@@ -76,7 +76,7 @@
     return;
   }
 
- const native_float_parts<float> fb((!b_neg) ? f : -f);
+ const built_in_float_parts<float> fb((!b_neg) ? f : -f);
 
   // Create an mp_float_mpfr from the fractional part of the
   // mantissa expressed as an unsigned long long.
@@ -571,7 +571,7 @@
   const std::string str_fmt = std::string("%.") + (boost::lexical_cast<std::string>(the_number_of_digits_scientific) + "RNe");
 
   // Get the string representation of the mp_float_mpfr in scientific notation (lowercase, noshowpos).
- boost::array<char, static_cast<std::size_t>(mp_float_mpfr::mp_max_digits10 + 32)> buf = {{ static_cast<char>(0) }};
+ boost::array<char, static_cast<std::size_t>(mp_float_mpfr::mp_float_max_digits10 + 32)> buf = {{ static_cast<char>(0) }};
 
   ::mpfr_sprintf(buf.data(), str_fmt.c_str(), rop);
 

Modified: sandbox/multiprecision/libs/src/backends/float/mpfr/mp_float_mpfr_protos.h
==============================================================================
--- sandbox/multiprecision/libs/src/backends/float/mpfr/mp_float_mpfr_protos.h (original)
+++ sandbox/multiprecision/libs/src/backends/float/mpfr/mp_float_mpfr_protos.h 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -8,8 +8,8 @@
 // "Algorithm 910: A Portable C++ Multiple-Precision System for Special-Function Calculations",
 // in ACM TOMS, {VOL 37, ISSUE 4, (February 2011)} (C) ACM, 2011. http://doi.acm.org/10.1145/1916461.1916469
 
-#ifndef _E_FLOAT_MPFR_PROTOS_2009_11_15_H_
- #define _E_FLOAT_MPFR_PROTOS_2009_11_15_H_
+#ifndef _MP_FLOAT_MPFR_PROTOS_2009_11_15_H_
+ #define _MP_FLOAT_MPFR_PROTOS_2009_11_15_H_
 
   // Wrap the function names of MPFR.
   extern "C"
@@ -89,4 +89,4 @@
     int mpfr_yn (mpfr_ptr, long, mpfr_srcptr, mp_rnd_t);
   }
 
-#endif // _E_FLOAT_MPFR_PROTOS_2009_11_15_H_
+#endif // _MP_FLOAT_MPFR_PROTOS_2009_11_15_H_

Modified: sandbox/multiprecision/libs/src/functions/elementary/elementary_complex.cpp
==============================================================================
--- sandbox/multiprecision/libs/src/functions/elementary/elementary_complex.cpp (original)
+++ sandbox/multiprecision/libs/src/functions/elementary/elementary_complex.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -20,6 +20,8 @@
 bool operator==(const mp_float& u, const mp_complex& v) { return ((u == v.real()) && boost::multiprecision::iszero(v.imag())); }
 bool operator!=(const mp_float& u, const mp_complex& v) { return ((u != v.real()) || !boost::multiprecision::iszero(v.imag())); }
 
+std::ostream& boost::multiprecision::operator<<(std::ostream& os, const mp_complex& z) { return os << '(' << z.real() << ',' << z.imag() << ')'; }
+
 mp_float boost::multiprecision::abs(const mp_complex& z) { return boost::multiprecision::sqrt(boost::multiprecision::norm(z)); }
 mp_float boost::multiprecision::arg(const mp_complex& z) { return boost::multiprecision::atan2(z.imag(), z.real()); }
 

Modified: sandbox/multiprecision/libs/src/functions/elementary/elementary_trig.cpp
==============================================================================
--- sandbox/multiprecision/libs/src/functions/elementary/elementary_trig.cpp (original)
+++ sandbox/multiprecision/libs/src/functions/elementary/elementary_trig.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -9,7 +9,7 @@
 // in ACM TOMS, {VOL 37, ISSUE 4, (February 2011)} (C) ACM, 2011. http://doi.acm.org/10.1145/1916461.1916469
 
 // *****************************************************************************
-// Filename : e_float_math.cpp
+// Filename : elementary_trig.cpp
 //
 // Project : Multiple precision mathematics
 //

Modified: sandbox/multiprecision/libs/src/functions/zeta/zeta.cpp
==============================================================================
--- sandbox/multiprecision/libs/src/functions/zeta/zeta.cpp (original)
+++ sandbox/multiprecision/libs/src/functions/zeta/zeta.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -254,7 +254,7 @@
   }
 
   // Check if there is a simple form for Zeta(n).
- if(!Zeta_Series::has_simple_form_for_zeta_n(n))
+ if(Zeta_Series::has_simple_form_for_zeta_n(n) == false)
   {
     // There is no simple form for Zeta(n). Do the mp_float calculation.
     return riemann_zeta(mp_float(n));
@@ -272,9 +272,9 @@
       {
         const boost::uint32_t two_n = static_cast<boost::uint32_t>(static_cast<boost::int32_t>(-n) + static_cast<boost::int32_t>(1));
 
- const bool is_even = (n % static_cast<boost::int32_t>(2)) == static_cast<boost::int32_t>(0);
+ const bool is_even = (static_cast<boost::int32_t>(n % static_cast<boost::int32_t>(2)) == static_cast<boost::int32_t>(0));
 
- return is_even ? boost::multiprecision::zero() : -boost::multiprecision::bernoulli(two_n) / static_cast<boost::int32_t>(two_n);
+ return (is_even ? boost::multiprecision::zero() : -boost::multiprecision::bernoulli(two_n) / static_cast<boost::int32_t>(two_n));
       }
       else
       {

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02101_z_sin.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02101_z_sin.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02101_z_sin.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02101_z_sin");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(101u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02102_z_cos.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02102_z_cos.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02102_z_cos.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02102_z_cos");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(101u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02103_z_exp.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02103_z_exp.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02103_z_exp.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02103_z_exp");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02104_z_log.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02104_z_log.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02104_z_log.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02104_z_log");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(101u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02105_z_sqrt.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02105_z_sqrt.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02105_z_sqrt.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02105_z_sqrt");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(101u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02106_z_rootn.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02106_z_rootn.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02106_z_rootn.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02106_z_rootn");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(101u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02111_z_asin.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02111_z_asin.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02111_z_asin.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02111_z_asin");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02112_z_acos.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02112_z_acos.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02112_z_acos.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02112_z_acos");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02113_z_atan.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02113_z_atan.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02113_z_atan.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02113_z_atan");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02114_z_various_trig.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02114_z_various_trig.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02114_z_various_trig.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02114_z_various_trig");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.clear();
         data.push_back(boost::multiprecision::tan(mp_complex(boost::multiprecision::euler_gamma() * boost::multiprecision::three(), boost::multiprecision::golden_ratio() * boost::multiprecision::seven())));

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02115_z_various_elem_trans_log.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02115_z_various_elem_trans_log.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02115_z_various_elem_trans_log.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02115_z_various_elem_trans_log");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.clear();
         data.push_back(boost::multiprecision::log10(mp_complex(boost::multiprecision::euler_gamma() * boost::multiprecision::thousand(), boost::multiprecision::golden_ratio() * boost::multiprecision::hundred())));

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02116_z_various_elem.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02116_z_various_elem.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02116_z_various_elem.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02116_z_various_elem");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.clear();
         data.push_back(mp_complex(boost::multiprecision::euler_gamma(), boost::multiprecision::golden_ratio()) + static_cast<boost::int32_t>(123));

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02121_z_sinh.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02121_z_sinh.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02121_z_sinh.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02121_z_sinh");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02122_z_cosh.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02122_z_cosh.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02122_z_cosh.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02122_z_cosh");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02123_z_tanh.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02123_z_tanh.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02123_z_tanh.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02123_z_tanh");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02124_z_asinh.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02124_z_asinh.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02124_z_asinh.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02124_z_asinh");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(51u);
         mp_float ten_pow_k = boost::multiprecision::one();

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02125_z_acosh.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02125_z_acosh.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02125_z_acosh.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02125_z_acosh");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(51u);
         mp_float ten_pow_k = boost::multiprecision::one();

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02126_z_atanh.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02126_z_atanh.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02126_z_atanh.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02126_z_atanh");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(51u);
         mp_float ten_pow_k = boost::multiprecision::one();

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02201_z_gamma.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02201_z_gamma.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02201_z_gamma.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02201_z_gamma");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02202_z_gamma_medium_x.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02202_z_gamma_medium_x.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02202_z_gamma_medium_x.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02202_z_gamma_medium_x");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(26u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02901_z_zeta_small_x.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02901_z_zeta_small_x.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02901_z_zeta_small_x.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02901_z_zeta_small_x");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02902_z_zeta_all_x.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02902_z_zeta_all_x.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02902_z_zeta_all_x.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02902_z_zeta_all_x");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02903_z_zeta_neg_x.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02903_z_zeta_neg_x.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02903_z_zeta_neg_x.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02903_z_zeta_neg_x");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(26u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/imag/cases/test_case_02911_z_zeta_crit_strip.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/imag/cases/test_case_02911_z_zeta_crit_strip.cpp (original)
+++ sandbox/multiprecision/libs/test/imag/cases/test_case_02911_z_zeta_crit_strip.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_02911_z_zeta_crit_strip");
         return str;
       }
- virtual void e_float_test(std::vector<mp_complex>& data) const
+ virtual void mp_float_test(std::vector<mp_complex>& data) const
       {
         data.resize(5u);
         boost::int32_t ten_pow_k = static_cast<boost::int32_t>(1);

Modified: sandbox/multiprecision/libs/test/naive_test/naive_test.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/naive_test/naive_test.cpp (original)
+++ sandbox/multiprecision/libs/test/naive_test/naive_test.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -89,7 +89,7 @@
 // but NOT 0.1.
 // Integral may be an integer or a double having an integral value.
 
-BOOST_AUTO_TEST_CASE(e_float_test_template)
+BOOST_AUTO_TEST_CASE(mp_float_test_template)
 { // These are just examples of using Boost.Test.
   // Need to be removed when no longer helpful.
   BOOST_TEST_MESSAGE("Test Boost.mp_float"); // Only appears if command line has --log_level="message"
@@ -170,23 +170,23 @@
     CHECK_OUT_IN(std::fixed << w, result, value);
   }
 
-} // BOOST_AUTO_TEST_CASE(e_float_template)
+} // BOOST_AUTO_TEST_CASE(mp_float_template)
 
-BOOST_AUTO_TEST_CASE(e_float_test_macros)
+BOOST_AUTO_TEST_CASE(mp_float_test_macros)
 { // Check some macro values.
   //
   BOOST_CHECK_EQUAL(BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_DIGITS10, 50); // Assumes we are testing at 50 digits, NOT the default.
-} // BOOST_AUTO_TEST_CASE(e_float_test_macros)
+} // BOOST_AUTO_TEST_CASE(mp_float_test_macros)
 
 
-BOOST_AUTO_TEST_CASE(e_float_test_ios)
+BOOST_AUTO_TEST_CASE(mp_float_test_ios)
 { // Check some IOS defaults.
   BOOST_CHECK_EQUAL(cout.precision(), 6);
   std::ostringstream oss;
   BOOST_CHECK_EQUAL(oss.precision(), 6);
   }
 
-BOOST_AUTO_TEST_CASE(e_float_test_input)
+BOOST_AUTO_TEST_CASE(mp_float_test_input)
 { //
   BOOST_TEST_MESSAGE("Test Boost.mp_float input.");
 
@@ -199,9 +199,9 @@
    CHECK_IN("0.0123456", mp_float("0.0123456"));
    CHECK_IN("1e-6", mp_float("1e-6"));
    CHECK_IN("-1e-6", mp_float("-1e-6"));
-} // BOOST_AUTO_TEST_CASE(e_float_test_input)
+} // BOOST_AUTO_TEST_CASE(mp_float_test_input)
 
-BOOST_AUTO_TEST_CASE(e_float_test_output)
+BOOST_AUTO_TEST_CASE(mp_float_test_output)
 { //
 
   BOOST_TEST_MESSAGE("Test Boost.mp_float output.");
@@ -313,9 +313,9 @@
   CHECK_OUT(fixed << setprecision(50) << -boost::multiprecision::pi(), "-3.14159265358979323846264338327950288419716939937511");
   CHECK_OUT(fixed << setprecision(std::numeric_limits<mp_float>::max_digits10) << -boost::multiprecision::pi(), "-3.141592653589793238462643383279502884197169399375106");
 
-} // BOOST_AUTO_TEST_CASE(e_float_test_output)
+} // BOOST_AUTO_TEST_CASE(mp_float_test_output)
 
-BOOST_AUTO_TEST_CASE(e_float_test_int_arith)
+BOOST_AUTO_TEST_CASE(mp_float_test_int_arith)
 { //
 
   BOOST_TEST_MESSAGE("Test Boost.mp_float integer arithmetic.");
@@ -327,10 +327,10 @@
   my_float = mp_float(2) + mp_float(2); // OK
 
   BOOST_CHECK_EQUAL(my_float, e_four);
-} // BOOST_AUTO_TEST_CASE(e_float_test_int_arith)
+} // BOOST_AUTO_TEST_CASE(mp_float_test_int_arith)
 
 
-BOOST_AUTO_TEST_CASE(e_float_test_float_arith)
+BOOST_AUTO_TEST_CASE(mp_float_test_float_arith)
 { //
 
   BOOST_TEST_MESSAGE("Test Boost.mp_float float arithmetic.");
@@ -349,7 +349,7 @@
   BOOST_CHECK_EQUAL(mp_float(2.), mp_float(2.)); // Constructed from two integral value doubles.
   BOOST_CHECK_EQUAL(mp_float(0.5), mp_float(0.5)); // Constructed from two exact doubles.
 
- const mp_float e_float_max = boost::multiprecision::value_max(); // mp_float
+ const mp_float mp_float_max = boost::multiprecision::value_max(); // mp_float
 
 
   mp_float my_float;
@@ -387,9 +387,9 @@
   
 // Compare exact double.
 
-} // BOOST_AUTO_TEST_CASE(e_float_test_float_arith)
+} // BOOST_AUTO_TEST_CASE(mp_float_test_float_arith)
 
-BOOST_AUTO_TEST_CASE(e_float_test_numeric_limits)
+BOOST_AUTO_TEST_CASE(mp_float_test_numeric_limits)
 {
   BOOST_CHECK(BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_TYPE_EFX);
   BOOST_CHECK_EQUAL(BOOST_MULTIPRECISION_BACKEND_MP_FLOAT_TYPE_EFX, 1);
@@ -453,9 +453,9 @@
   //BOOST_CHECK_EQUAL(std::numeric_limits<mp_float>::infinity(), "INF");
   //BOOST_CHECK_EQUAL(-std::numeric_limits<mp_float>::infinity(), "INF");
   
-} // BOOST_AUTO_TEST_CASE(e_float_test_numeric_limits)
+} // BOOST_AUTO_TEST_CASE(mp_float_test_numeric_limits)
 
-BOOST_AUTO_TEST_CASE(e_float_test_constants)
+BOOST_AUTO_TEST_CASE(mp_float_test_constants)
 { //
   BOOST_CHECK_EQUAL(boost::multiprecision::one(), mp_float(1)); // Integer.
   BOOST_CHECK_EQUAL(boost::multiprecision::one_minus(), mp_float(-1)); // Negative Integer.
@@ -464,7 +464,7 @@
   BOOST_CHECK_EQUAL(boost::multiprecision::sixteenth(), mp_float(0.0625)); // Exactly representable as double.
 
   //BOOST_CHECK_EQUAL(boost::multiprecision::tenth(), mp_float(0.1)); // NOT exactly representable as double.
- // naive_test.cpp(319): error in "e_float_test_constants": check boost::multiprecision::tenth() == mp_float(0.1) failed [0.1 != 0.100000000000000005551115123125782702118158340454102]
+ // naive_test.cpp(319): error in "mp_float_test_constants": check boost::multiprecision::tenth() == mp_float(0.1) failed [0.1 != 0.100000000000000005551115123125782702118158340454102]
   BOOST_CHECK_EQUAL(boost::multiprecision::tenth(), mp_float("0.1")); // OK, exactly representable as mp_float.
 
   double my_pi = 3.141592653589793238462643383279502884197169399375105820974944;
@@ -507,7 +507,7 @@
 
 
 
-} // BOOST_AUTO_TEST_CASE(e_float_test_constants)
+} // BOOST_AUTO_TEST_CASE(mp_float_test_constants)
 //3.14159265358979323846264338327950288419716939937511
 //3.14159265358979323846264338327950288419716939937511
 //3.141592653589793238462643383279502884197169399375105820974944

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_0000x_overflow_underflow.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_0000x_overflow_underflow.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_0000x_overflow_underflow.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -44,15 +44,15 @@
       {
         std::cout << name() << " : ";
 
- std::vector<mp_float> e_float_data;
+ std::vector<mp_float> mp_float_data;
 
         // Calculate the mp_float test data.
- e_float_test(e_float_data);
+ mp_float_test(mp_float_data);
 
         // Optionally write the mp_float test data to an output file.
         if(b_write_output)
         {
- if(!write_output_file(e_float_data))
+ if(!write_output_file(mp_float_data))
           {
             std::cout << "Can not write output: FAIL" << std::endl;
             return false;
@@ -83,7 +83,7 @@
         static const std::string str("TestCase_case_00001_overflow_mul_x");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.clear();
 
@@ -116,7 +116,7 @@
         static const std::string str("TestCase_case_00002_underflow_mul_x");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.clear();
 
@@ -149,7 +149,7 @@
         static const std::string str("TestCase_case_00003_overflow_x_mul_by_n");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.clear();
 
@@ -183,7 +183,7 @@
         static const std::string str("TestCase_case_00004_underflow_x_div_by_n");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.clear();
 

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_0000y_write_to_ostream.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_0000y_write_to_ostream.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_0000y_write_to_ostream.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -105,15 +105,15 @@
       {
         std::cout << name() << " : ";
 
- std::vector<mp_float> e_float_data;
+ std::vector<mp_float> mp_float_data;
 
         // Calculate the mp_float test data.
- e_float_test(e_float_data);
+ mp_float_test(mp_float_data);
 
         // Optionally write the mp_float test data to an output file.
         if(b_write_output)
         {
- if(!write_output_file(e_float_data))
+ if(!write_output_file(mp_float_data))
           {
             std::cout << "Can not write output: FAIL" << std::endl;
             return false;
@@ -144,7 +144,7 @@
         static const std::string str("TestCase_case_00006_write_os_floatfield_fixed");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.clear();
 
@@ -257,7 +257,7 @@
         static const std::string str("TestCase_case_00007_write_os_floatfield_scientific");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.clear();
 
@@ -340,7 +340,7 @@
         static const std::string str("TestCase_case_00008_write_os_floatfield_not_set");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.clear();
 

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_0000z_global_ops_pod.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_0000z_global_ops_pod.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_0000z_global_ops_pod.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -23,7 +23,7 @@
 
 namespace
 {
- struct e_float_equate_to
+ struct mp_float_equate_to
   {
     static mp_float the_value_min;
     static mp_float the_value_max;
@@ -49,8 +49,8 @@
     }
   };
 
- mp_float e_float_equate_to::the_value_min;
- mp_float e_float_equate_to::the_value_max;
+ mp_float mp_float_equate_to::the_value_min;
+ mp_float mp_float_equate_to::the_value_max;
 }
 
 namespace test
@@ -78,15 +78,15 @@
       {
         std::cout << name() << " : ";
 
- std::vector<mp_float> e_float_data;
+ std::vector<mp_float> mp_float_data;
 
         // Calculate the mp_float test data.
- e_float_test(e_float_data);
+ mp_float_test(mp_float_data);
 
         // Optionally write the mp_float test data to an output file.
         if(b_write_output)
         {
- if(!write_output_file(e_float_data))
+ if(!write_output_file(mp_float_data))
           {
             std::cout << "Can not write output: FAIL" << std::endl;
             return false;
@@ -118,28 +118,28 @@
         static const std::string str("TestCase_case_00009_global_ops_pod_equate");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.clear();
 
         my_test_result = true;
 
- my_test_result &= (std::numeric_limits<char>::is_signed ? ::e_float_equate_to::check_type<char, signed long long>()
- : ::e_float_equate_to::check_type<char, unsigned long long>());
- my_test_result &= (std::numeric_limits<wchar_t>::is_signed ? ::e_float_equate_to::check_type<wchar_t, signed long long>()
- : ::e_float_equate_to::check_type<wchar_t, unsigned long long>());
-
- my_test_result &= ::e_float_equate_to::check_type<signed char, signed long long>();
- my_test_result &= ::e_float_equate_to::check_type<signed short, signed long long>();
- my_test_result &= ::e_float_equate_to::check_type<signed int, signed long long>();
- my_test_result &= ::e_float_equate_to::check_type<signed long, signed long long>();
- my_test_result &= ::e_float_equate_to::check_type<signed long long, signed long long>();
-
- my_test_result &= ::e_float_equate_to::check_type<unsigned char, unsigned long long>();
- my_test_result &= ::e_float_equate_to::check_type<unsigned short, unsigned long long>();
- my_test_result &= ::e_float_equate_to::check_type<unsigned int, unsigned long long>();
- my_test_result &= ::e_float_equate_to::check_type<unsigned long, unsigned long long>();
- my_test_result &= ::e_float_equate_to::check_type<unsigned long long, unsigned long long>();
+ my_test_result &= (std::numeric_limits<char>::is_signed ? ::mp_float_equate_to::check_type<char, signed long long>()
+ : ::mp_float_equate_to::check_type<char, unsigned long long>());
+ my_test_result &= (std::numeric_limits<wchar_t>::is_signed ? ::mp_float_equate_to::check_type<wchar_t, signed long long>()
+ : ::mp_float_equate_to::check_type<wchar_t, unsigned long long>());
+
+ my_test_result &= ::mp_float_equate_to::check_type<signed char, signed long long>();
+ my_test_result &= ::mp_float_equate_to::check_type<signed short, signed long long>();
+ my_test_result &= ::mp_float_equate_to::check_type<signed int, signed long long>();
+ my_test_result &= ::mp_float_equate_to::check_type<signed long, signed long long>();
+ my_test_result &= ::mp_float_equate_to::check_type<signed long long, signed long long>();
+
+ my_test_result &= ::mp_float_equate_to::check_type<unsigned char, unsigned long long>();
+ my_test_result &= ::mp_float_equate_to::check_type<unsigned short, unsigned long long>();
+ my_test_result &= ::mp_float_equate_to::check_type<unsigned int, unsigned long long>();
+ my_test_result &= ::mp_float_equate_to::check_type<unsigned long, unsigned long long>();
+ my_test_result &= ::mp_float_equate_to::check_type<unsigned long long, unsigned long long>();
 
         mp_float x(123u); // Initialize x with something.
 
@@ -166,7 +166,7 @@
         static const std::string str("TestCase_case_00010_global_ops_pod_operations");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.clear();
 

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00011_various_elem_math.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00011_various_elem_math.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00011_various_elem_math.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_00011_various_elem_math");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.clear();
         data.push_back(boost::multiprecision::floor(boost::multiprecision::pi()));

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00021_bernoulli.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00021_bernoulli.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00021_bernoulli.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00021_bernoulli");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(101u);
         for(boost::uint32_t k = static_cast<boost::uint32_t>(0u); k < static_cast<boost::uint32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00051_factorial.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00051_factorial.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00051_factorial.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00051_factorial");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(101u);
         for(boost::uint32_t k = static_cast<boost::uint32_t>(0u); k < static_cast<boost::uint32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00052_factorial2.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00052_factorial2.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00052_factorial2.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00052_factorial2");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(101u);
         for(boost::uint32_t k = static_cast<boost::uint32_t>(0u); k < static_cast<boost::uint32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00071_various_int_func.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00071_various_int_func.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00071_various_int_func.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00071_various_int_func");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.clear();
         data.push_back(boost::multiprecision::factorial2(-1301));

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00101_sin.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00101_sin.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00101_sin.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00101_sin");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(101u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00102_cos.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00102_cos.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00102_cos.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00102_cos");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(101u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00103_exp.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00103_exp.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00103_exp.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00103_exp");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00104_log.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00104_log.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00104_log.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00104_log");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(101u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00105_sqrt.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00105_sqrt.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00105_sqrt.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00105_sqrt");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(101u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00106_rootn.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00106_rootn.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00106_rootn.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00106_rootn");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(101u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00111_sin_small_x.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00111_sin_small_x.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00111_sin_small_x.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00111_sin_small_x");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00112_cos_x_near_pi_half.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00112_cos_x_near_pi_half.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00112_cos_x_near_pi_half.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00112_cos_x_near_pi_half");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00113_atan_x_small_to_large.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00113_atan_x_small_to_large.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00113_atan_x_small_to_large.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00113_atan_x_small_to_large");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(51u);
         mp_float ten_pow_4k = mp_float("1e-100");

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00114_various_trig.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00114_various_trig.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00114_various_trig.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00114_various_trig");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.clear();
         data.push_back(boost::multiprecision::sec(boost::multiprecision::euler_gamma()));

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00115_various_elem_trans.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00115_various_elem_trans.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00115_various_elem_trans.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00115_various_elem_trans");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.clear();
         data.push_back(boost::multiprecision::sqrt(mp_float(11.1))); // 11.1 = ((1745144855606067 / (2^52)) + 1)*2^3

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00121_sinh.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00121_sinh.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00121_sinh.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00121_sinh");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00122_cosh.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00122_cosh.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00122_cosh.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00122_cosh");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00123_tanh.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00123_tanh.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00123_tanh.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00123_tanh");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00124_asinh.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00124_asinh.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00124_asinh.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00124_asinh");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00125_acosh.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00125_acosh.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00125_acosh.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00125_acosh");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00126_atanh.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00126_atanh.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00126_atanh.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00126_atanh");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00201_gamma.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00201_gamma.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00201_gamma.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00201_gamma");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(101u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00202_gamma_medium_x.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00202_gamma_medium_x.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00202_gamma_medium_x.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00202_gamma_medium_x");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00203_gamma_small_x.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00203_gamma_small_x.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00203_gamma_small_x.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00203_gamma_small_x");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(51u);
         static const mp_float fifty_three = mp_float(53);

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00204_gamma_tiny_x.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00204_gamma_tiny_x.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00204_gamma_tiny_x.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00204_gamma_tiny_x");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(51u);
         mp_float ten_pow_two_k = boost::multiprecision::one();

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00205_gamma_near_neg_n.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00205_gamma_near_neg_n.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00205_gamma_near_neg_n.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00205_gamma_near_neg_n");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(51u);
         mp_float ten_pow_k = boost::multiprecision::one();

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00221_various_gamma_func.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00221_various_gamma_func.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00221_various_gamma_func.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -31,7 +31,7 @@
         static const std::string str("TestCase_case_00221_various_gamma_func");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.clear();
         data.push_back(boost::multiprecision::binomial( 20u, 10u));

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00901_zeta_small_x.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00901_zeta_small_x.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00901_zeta_small_x.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00901_zeta_small_x");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(101u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00902_zeta_all_x.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00902_zeta_all_x.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00902_zeta_all_x.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00902_zeta_all_x");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(101u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/real/cases/test_case_00903_zeta_neg_x.cpp
==============================================================================
--- sandbox/multiprecision/libs/test/real/cases/test_case_00903_zeta_neg_x.cpp (original)
+++ sandbox/multiprecision/libs/test/real/cases/test_case_00903_zeta_neg_x.cpp 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -30,7 +30,7 @@
         static const std::string str("TestCase_case_00903_zeta_neg_x");
         return str;
       }
- virtual void e_float_test(std::vector<mp_float>& data) const
+ virtual void mp_float_test(std::vector<mp_float>& data) const
       {
         data.resize(51u);
         for(boost::int32_t k = static_cast<boost::int32_t>(0); k < static_cast<boost::int32_t>(data.size()); k++)

Modified: sandbox/multiprecision/libs/test/test_case_base.h
==============================================================================
--- sandbox/multiprecision/libs/test/test_case_base.h (original)
+++ sandbox/multiprecision/libs/test/test_case_base.h 2011-09-22 13:38:28 EDT (Thu, 22 Sep 2011)
@@ -12,12 +12,12 @@
   #define _TEST_CASE_BASE_2009_11_12_H_
 
   #include <string>
+ #include <iostream>
   #include <fstream>
   #include <iomanip>
   #include <algorithm>
   #include <iterator>
 
-
   #include <boost/multiprecision/mp_float_functions.hpp>
   #include <boost/noncopyable.hpp>
 
@@ -47,7 +47,7 @@
 
       virtual const std::vector<T>& control_data(void) const = 0;
 
- virtual void e_float_test(std::vector<T>&) const = 0;
+ virtual void mp_float_test(std::vector<T>&) const = 0;
 
       bool write_output_file(const std::vector<T>& data) const
       {
@@ -78,13 +78,13 @@
       {
         std::cout << name() << " : ";
 
- std::vector<T> e_float_data;
+ std::vector<T> mp_float_data;
 
         // Calculate the mp_float test data.
- e_float_test(e_float_data);
+ mp_float_test(mp_float_data);
 
         // Verify equal length of the data tables.
- if(e_float_data.size() != control_data().size())
+ if(mp_float_data.size() != control_data().size())
         {
           std::cout << "Table size mismatch: FAIL" << std::endl;
           return false;
@@ -93,7 +93,7 @@
         // Optionally write the mp_float test data to an output file.
         if(b_write_output)
         {
- if(!write_output_file(e_float_data))
+ if(!write_output_file(mp_float_data))
           {
             std::cout << "Can not write output: FAIL" << std::endl;
             return false;
@@ -102,11 +102,11 @@
 
         bool b_compare = true;
 
- for(typename std::vector<T>::size_type i = 0u; i < e_float_data.size(); i++)
+ for(typename std::vector<T>::size_type i = 0u; i < mp_float_data.size(); i++)
         {
           std::string str_result;
 
- const bool b_result = compare_value(str_result, e_float_data[i], control_data()[i]);
+ const bool b_result = compare_value(str_result, mp_float_data[i], control_data()[i]);
 
           b_compare &= b_result;
 


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