|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r75489 - in sandbox/big_number: boost/multiprecision boost/multiprecision/concepts boost/multiprecision/detail boost/multiprecision/detail/functions libs/multiprecision/doc libs/multiprecision/doc/html libs/multiprecision/doc/html/boost_multiprecision/ref libs/multiprecision/test
From: john_at_[hidden]
Date: 2011-11-14 08:39:12
Author: johnmaddock
Date: 2011-11-14 08:39:10 EST (Mon, 14 Nov 2011)
New Revision: 75489
URL: http://svn.boost.org/trac/boost/changeset/75489
Log:
Change real_types to float_types.
Text files modified:
sandbox/big_number/boost/multiprecision/arithmetic_backend.hpp | 2
sandbox/big_number/boost/multiprecision/concepts/mp_number_architypes.hpp | 2
sandbox/big_number/boost/multiprecision/cpp_float.hpp | 2
sandbox/big_number/boost/multiprecision/detail/default_ops.hpp | 2
sandbox/big_number/boost/multiprecision/detail/functions/constants.hpp | 4 +-
sandbox/big_number/boost/multiprecision/detail/functions/pow.hpp | 8 ++--
sandbox/big_number/boost/multiprecision/detail/functions/trig.hpp | 14 +++++-----
sandbox/big_number/boost/multiprecision/detail/mp_number_base.hpp | 2
sandbox/big_number/boost/multiprecision/gmp.hpp | 6 ++--
sandbox/big_number/boost/multiprecision/mpfr.hpp | 2
sandbox/big_number/libs/multiprecision/doc/html/boost_multiprecision/ref/backendconc.html | 54 ++++++++++++++++++++--------------------
sandbox/big_number/libs/multiprecision/doc/html/index.html | 2
sandbox/big_number/libs/multiprecision/doc/multiprecision.qbk | 54 ++++++++++++++++++++--------------------
sandbox/big_number/libs/multiprecision/test/Jamfile.v2 | 2
14 files changed, 78 insertions(+), 78 deletions(-)
Modified: sandbox/big_number/boost/multiprecision/arithmetic_backend.hpp
==============================================================================
--- sandbox/big_number/boost/multiprecision/arithmetic_backend.hpp (original)
+++ sandbox/big_number/boost/multiprecision/arithmetic_backend.hpp 2011-11-14 08:39:10 EST (Mon, 14 Nov 2011)
@@ -20,7 +20,7 @@
{
typedef mpl::list<long long> signed_types;
typedef mpl::list<unsigned long long> unsigned_types;
- typedef mpl::list<long double> real_types;
+ typedef mpl::list<long double> float_types;
typedef int exponent_type;
arithmetic_backend(){}
Modified: sandbox/big_number/boost/multiprecision/concepts/mp_number_architypes.hpp
==============================================================================
--- sandbox/big_number/boost/multiprecision/concepts/mp_number_architypes.hpp (original)
+++ sandbox/big_number/boost/multiprecision/concepts/mp_number_architypes.hpp 2011-11-14 08:39:10 EST (Mon, 14 Nov 2011)
@@ -27,7 +27,7 @@
{
typedef mpl::list<long long> signed_types;
typedef mpl::list<unsigned long long> unsigned_types;
- typedef mpl::list<long double> real_types;
+ typedef mpl::list<long double> float_types;
typedef int exponent_type;
mp_number_backend_float_architype()
Modified: sandbox/big_number/boost/multiprecision/cpp_float.hpp
==============================================================================
--- sandbox/big_number/boost/multiprecision/cpp_float.hpp (original)
+++ sandbox/big_number/boost/multiprecision/cpp_float.hpp 2011-11-14 08:39:10 EST (Mon, 14 Nov 2011)
@@ -30,7 +30,7 @@
public:
typedef mpl::list<long long> signed_types;
typedef mpl::list<unsigned long long> unsigned_types;
- typedef mpl::list<long double> real_types;
+ typedef mpl::list<long double> float_types;
typedef boost::int64_t exponent_type;
Modified: sandbox/big_number/boost/multiprecision/detail/default_ops.hpp
==============================================================================
--- sandbox/big_number/boost/multiprecision/detail/default_ops.hpp (original)
+++ sandbox/big_number/boost/multiprecision/detail/default_ops.hpp 2011-11-14 08:39:10 EST (Mon, 14 Nov 2011)
@@ -303,7 +303,7 @@
typename mpl::if_<
is_unsigned<R>,
typename B::unsigned_types,
- typename B::real_types
+ typename B::float_types
>::type
>::type list_type;
typedef typename has_enough_bits<R, std::numeric_limits<R>::digits>::template type<mpl::_> pred_type;
Modified: sandbox/big_number/boost/multiprecision/detail/functions/constants.hpp
==============================================================================
--- sandbox/big_number/boost/multiprecision/detail/functions/constants.hpp (original)
+++ sandbox/big_number/boost/multiprecision/detail/functions/constants.hpp 2011-11-14 08:39:10 EST (Mon, 14 Nov 2011)
@@ -50,7 +50,7 @@
void calc_e(T& result, unsigned digits)
{
typedef typename mpl::front<typename T::unsigned_types>::type ui_type;
- typedef typename mpl::front<typename T::real_types>::type real_type;
+ typedef typename mpl::front<typename T::float_types>::type real_type;
T lim;
lim = ui_type(1);
eval_ldexp(lim, lim, digits);
@@ -72,7 +72,7 @@
void calc_pi(T& result, unsigned digits)
{
typedef typename mpl::front<typename T::unsigned_types>::type ui_type;
- typedef typename mpl::front<typename T::real_types>::type real_type;
+ typedef typename mpl::front<typename T::float_types>::type real_type;
T a;
a = ui_type(1);
Modified: sandbox/big_number/boost/multiprecision/detail/functions/pow.hpp
==============================================================================
--- sandbox/big_number/boost/multiprecision/detail/functions/pow.hpp (original)
+++ sandbox/big_number/boost/multiprecision/detail/functions/pow.hpp 2011-11-14 08:39:10 EST (Mon, 14 Nov 2011)
@@ -144,7 +144,7 @@
typedef typename boost::multiprecision::detail::canonical<unsigned, T>::type ui_type;
typedef typename T::exponent_type exp_type;
typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
- typedef typename mpl::front<typename T::real_types>::type fp_type;
+ typedef typename mpl::front<typename T::float_types>::type fp_type;
BOOST_ASSERT(&H1F0 != &x);
BOOST_ASSERT(&H1F0 != &a);
@@ -341,7 +341,7 @@
typedef typename boost::multiprecision::detail::canonical<unsigned, T>::type ui_type;
typedef typename T::exponent_type exp_type;
typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
- typedef typename mpl::front<typename T::real_types>::type fp_type;
+ typedef typename mpl::front<typename T::float_types>::type fp_type;
exp_type e;
T t;
@@ -421,7 +421,7 @@
typedef typename boost::multiprecision::detail::canonical<unsigned, T>::type ui_type;
typedef typename T::exponent_type exp_type;
typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
- typedef typename mpl::front<typename T::real_types>::type fp_type;
+ typedef typename mpl::front<typename T::float_types>::type fp_type;
if((&result == &x) || (&result == &a))
{
@@ -551,7 +551,7 @@
typedef typename boost::multiprecision::detail::canonical<unsigned, T>::type ui_type;
typedef typename T::exponent_type exp_type;
typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
- typedef typename mpl::front<typename T::real_types>::type fp_type;
+ typedef typename mpl::front<typename T::float_types>::type fp_type;
switch(eval_fpclassify(x))
{
Modified: sandbox/big_number/boost/multiprecision/detail/functions/trig.hpp
==============================================================================
--- sandbox/big_number/boost/multiprecision/detail/functions/trig.hpp (original)
+++ sandbox/big_number/boost/multiprecision/detail/functions/trig.hpp 2011-11-14 08:39:10 EST (Mon, 14 Nov 2011)
@@ -19,7 +19,7 @@
typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
typedef typename T::exponent_type exp_type;
typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
- typedef typename mpl::front<typename T::real_types>::type fp_type;
+ typedef typename mpl::front<typename T::float_types>::type fp_type;
// Compute the series representation of Hypergeometric0F1 taken from
// http://functions.wolfram.com/HypergeometricFunctions/Hypergeometric0F1/06/01/01/
@@ -80,7 +80,7 @@
typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
typedef typename T::exponent_type exp_type;
typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
- typedef typename mpl::front<typename T::real_types>::type fp_type;
+ typedef typename mpl::front<typename T::float_types>::type fp_type;
switch(eval_fpclassify(x))
{
@@ -218,7 +218,7 @@
typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
typedef typename T::exponent_type exp_type;
typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
- typedef typename mpl::front<typename T::real_types>::type fp_type;
+ typedef typename mpl::front<typename T::float_types>::type fp_type;
switch(eval_fpclassify(x))
{
@@ -359,7 +359,7 @@
typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
typedef typename T::exponent_type exp_type;
typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
- typedef typename mpl::front<typename T::real_types>::type fp_type;
+ typedef typename mpl::front<typename T::float_types>::type fp_type;
T x_pow_n_div_n_fact(x);
T pochham_a (a);
@@ -417,7 +417,7 @@
typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
typedef typename T::exponent_type exp_type;
typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
- typedef typename mpl::front<typename T::real_types>::type fp_type;
+ typedef typename mpl::front<typename T::float_types>::type fp_type;
if(&result == &x)
{
@@ -567,7 +567,7 @@
typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
typedef typename T::exponent_type exp_type;
typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
- typedef typename mpl::front<typename T::real_types>::type fp_type;
+ typedef typename mpl::front<typename T::float_types>::type fp_type;
switch(eval_fpclassify(x))
{
@@ -670,7 +670,7 @@
typedef typename boost::multiprecision::detail::canonical<boost::uint32_t, T>::type ui_type;
typedef typename T::exponent_type exp_type;
typedef typename boost::multiprecision::detail::canonical<exp_type, T>::type canonical_exp_type;
- typedef typename mpl::front<typename T::real_types>::type fp_type;
+ typedef typename mpl::front<typename T::float_types>::type fp_type;
switch(eval_fpclassify(y))
{
Modified: sandbox/big_number/boost/multiprecision/detail/mp_number_base.hpp
==============================================================================
--- sandbox/big_number/boost/multiprecision/detail/mp_number_base.hpp (original)
+++ sandbox/big_number/boost/multiprecision/detail/mp_number_base.hpp 2011-11-14 08:39:10 EST (Mon, 14 Nov 2011)
@@ -58,7 +58,7 @@
{
typedef typename has_enough_bits<std::numeric_limits<Val>::digits>::template type<mpl::_> pred_type;
typedef typename mpl::find_if<
- typename Backend::real_types,
+ typename Backend::float_types,
pred_type
>::type iter_type;
typedef typename mpl::deref<iter_type>::type type;
Modified: sandbox/big_number/boost/multiprecision/gmp.hpp
==============================================================================
--- sandbox/big_number/boost/multiprecision/gmp.hpp (original)
+++ sandbox/big_number/boost/multiprecision/gmp.hpp 2011-11-14 08:39:10 EST (Mon, 14 Nov 2011)
@@ -27,7 +27,7 @@
{
typedef mpl::list<long, long long> signed_types;
typedef mpl::list<unsigned long, unsigned long long> unsigned_types;
- typedef mpl::list<double, long double> real_types;
+ typedef mpl::list<double, long double> float_types;
typedef long exponent_type;
gmp_float_imp(){}
@@ -794,7 +794,7 @@
{
typedef mpl::list<long, long long> signed_types;
typedef mpl::list<unsigned long, unsigned long long> unsigned_types;
- typedef mpl::list<double, long double> real_types;
+ typedef mpl::list<double, long double> float_types;
gmp_int()
{
@@ -1298,7 +1298,7 @@
{
typedef mpl::list<long, long long> signed_types;
typedef mpl::list<unsigned long, unsigned long long> unsigned_types;
- typedef mpl::list<double, long double> real_types;
+ typedef mpl::list<double, long double> float_types;
gmp_rational()
{
Modified: sandbox/big_number/boost/multiprecision/mpfr.hpp
==============================================================================
--- sandbox/big_number/boost/multiprecision/mpfr.hpp (original)
+++ sandbox/big_number/boost/multiprecision/mpfr.hpp 2011-11-14 08:39:10 EST (Mon, 14 Nov 2011)
@@ -30,7 +30,7 @@
{
typedef mpl::list<long, long long> signed_types;
typedef mpl::list<unsigned long, unsigned long long> unsigned_types;
- typedef mpl::list<double, long double> real_types;
+ typedef mpl::list<double, long double> float_types;
typedef long exponent_type;
mpfr_float_imp(){}
Modified: sandbox/big_number/libs/multiprecision/doc/html/boost_multiprecision/ref/backendconc.html
==============================================================================
--- sandbox/big_number/libs/multiprecision/doc/html/boost_multiprecision/ref/backendconc.html (original)
+++ sandbox/big_number/libs/multiprecision/doc/html/boost_multiprecision/ref/backendconc.html 2011-11-14 08:39:10 EST (Mon, 14 Nov 2011)
@@ -104,7 +104,7 @@
<tr>
<td>
<p>
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>
</p>
</td>
<td>
@@ -199,7 +199,7 @@
<p>
Assignment from an Arithmetic type. The type of <code class="computeroutput"><span class="identifier">a</span></code>
shall be listed in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -322,7 +322,7 @@
and zero if <code class="computeroutput"><span class="identifier">cb</span> <span class="special">==</span> <span class="identifier">a</span></code>.
The type of <code class="computeroutput"><span class="identifier">a</span></code> shall
be listed in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -724,7 +724,7 @@
<p>
Adds <code class="computeroutput"><span class="identifier">a</span></code> to <code class="computeroutput"><span class="identifier">b</span></code>. The type of <code class="computeroutput"><span class="identifier">a</span></code> shall be listed in one of the
type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>, <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code>
- or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -746,7 +746,7 @@
<code class="computeroutput"><span class="identifier">b</span></code>. The type of
<code class="computeroutput"><span class="identifier">a</span></code> shall be listed
in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -768,7 +768,7 @@
<code class="computeroutput"><span class="identifier">a</span></code>. The type of
<code class="computeroutput"><span class="identifier">a</span></code> shall be listed
in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -788,7 +788,7 @@
<p>
Divides <code class="computeroutput"><span class="identifier">b</span></code> by <code class="computeroutput"><span class="identifier">a</span></code>. The type of <code class="computeroutput"><span class="identifier">a</span></code> shall be listed in one of the
type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>, <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code>
- or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -811,7 +811,7 @@
<code class="computeroutput"><span class="identifier">B</span></code> is an integer
type. The type of <code class="computeroutput"><span class="identifier">a</span></code>
shall be listed in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -834,7 +834,7 @@
<code class="computeroutput"><span class="identifier">B</span></code> is an integer
type. The type of <code class="computeroutput"><span class="identifier">a</span></code>
shall be listed in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -857,7 +857,7 @@
<code class="computeroutput"><span class="identifier">B</span></code> is an integer
type. The type of <code class="computeroutput"><span class="identifier">a</span></code>
shall be listed in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -880,7 +880,7 @@
<code class="computeroutput"><span class="identifier">B</span></code> is an integer
type. The type of <code class="computeroutput"><span class="identifier">a</span></code>
shall be listed in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -984,7 +984,7 @@
<p>
Add <code class="computeroutput"><span class="identifier">cb</span></code> to <code class="computeroutput"><span class="identifier">a</span></code> and stores the result in <code class="computeroutput"><span class="identifier">b</span></code>. The type of <code class="computeroutput"><span class="identifier">a</span></code> shall be listed in one of the
type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>, <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code>
- or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -1008,7 +1008,7 @@
result in <code class="computeroutput"><span class="identifier">b</span></code>. The
type of <code class="computeroutput"><span class="identifier">a</span></code> shall
be listed in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -1032,7 +1032,7 @@
result in <code class="computeroutput"><span class="identifier">b</span></code>. The
type of <code class="computeroutput"><span class="identifier">a</span></code> shall
be listed in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -1056,7 +1056,7 @@
result in <code class="computeroutput"><span class="identifier">b</span></code>. The
type of <code class="computeroutput"><span class="identifier">a</span></code> shall
be listed in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -1171,7 +1171,7 @@
<code class="computeroutput"><span class="identifier">b</span></code>. The type of
<code class="computeroutput"><span class="identifier">a</span></code> shall be listed
in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -1195,7 +1195,7 @@
result in <code class="computeroutput"><span class="identifier">b</span></code>. The
type of <code class="computeroutput"><span class="identifier">a</span></code> shall
be listed in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -1219,7 +1219,7 @@
result in <code class="computeroutput"><span class="identifier">b</span></code>. The
type of <code class="computeroutput"><span class="identifier">a</span></code> shall
be listed in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -1242,7 +1242,7 @@
<code class="computeroutput"><span class="identifier">b</span></code>. The type of
<code class="computeroutput"><span class="identifier">a</span></code> shall be listed
in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -1267,7 +1267,7 @@
when <code class="computeroutput"><span class="identifier">B</span></code> is an integer
type. The type of <code class="computeroutput"><span class="identifier">a</span></code>
shall be listed in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -1292,7 +1292,7 @@
when <code class="computeroutput"><span class="identifier">B</span></code> is an integer
type. The type of <code class="computeroutput"><span class="identifier">a</span></code>
shall be listed in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -1317,7 +1317,7 @@
when <code class="computeroutput"><span class="identifier">B</span></code> is an integer
type. The type of <code class="computeroutput"><span class="identifier">a</span></code>
shall be listed in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -1342,7 +1342,7 @@
when <code class="computeroutput"><span class="identifier">B</span></code> is an integer
type. The type of <code class="computeroutput"><span class="identifier">a</span></code>
shall be listed in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -1367,7 +1367,7 @@
when <code class="computeroutput"><span class="identifier">B</span></code> is an integer
type. The type of <code class="computeroutput"><span class="identifier">a</span></code>
shall be listed in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -1392,7 +1392,7 @@
when <code class="computeroutput"><span class="identifier">B</span></code> is an integer
type. The type of <code class="computeroutput"><span class="identifier">a</span></code>
shall be listed in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -1417,7 +1417,7 @@
when <code class="computeroutput"><span class="identifier">B</span></code> is an integer
type. The type of <code class="computeroutput"><span class="identifier">a</span></code>
shall be listed in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
@@ -1442,7 +1442,7 @@
when <code class="computeroutput"><span class="identifier">B</span></code> is an integer
type. The type of <code class="computeroutput"><span class="identifier">a</span></code>
shall be listed in one of the type lists <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">signed_types</span></code>,
- <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">real_types</span></code>.
+ <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">unsigned_types</span></code> or <code class="computeroutput"><span class="identifier">B</span><span class="special">::</span><span class="identifier">float_types</span></code>.
</p>
</td>
</tr>
Modified: sandbox/big_number/libs/multiprecision/doc/html/index.html
==============================================================================
--- sandbox/big_number/libs/multiprecision/doc/html/index.html (original)
+++ sandbox/big_number/libs/multiprecision/doc/html/index.html 2011-11-14 08:39:10 EST (Mon, 14 Nov 2011)
@@ -20,7 +20,7 @@
</h3></div></div>
<div><p class="copyright">Copyright © 2011 John Maddock</p></div>
<div><div class="legalnotice">
-<a name="id1027865"></a><p>
+<a name="id992912"></a><p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
</p>
Modified: sandbox/big_number/libs/multiprecision/doc/multiprecision.qbk
==============================================================================
--- sandbox/big_number/libs/multiprecision/doc/multiprecision.qbk (original)
+++ sandbox/big_number/libs/multiprecision/doc/multiprecision.qbk 2011-11-14 08:39:10 EST (Mon, 14 Nov 2011)
@@ -701,14 +701,14 @@
listed in order of size, smallest first, and shall terminate in the type that is `std::intmax_t`.]]
[[`B::unsigned_types`][`mpl::list<type-list>`][A list of unsigned integral types that can be assigned to type B. The types shall be
listed in order of size, smallest first, and shall terminate in the type that is `std::uintmax_t`.]]
-[[`B::real_types`][`mpl::list<type-list>`][A list of floating point types that can be assigned to type B.The types shall be
+[[`B::float_types`][`mpl::list<type-list>`][A list of floating point types that can be assigned to type B.The types shall be
listed in order of size, smallest first, and shall terminate in type `long double`.]]
[[`B::exponent_type`][A signed integral type.][The type of the exponent of type B.]]
[[`B()`][ ][Default constructor.]]
[[`B(cb)`][ ][Copy Constructor.]]
[[`b = b`][`B&`][Assignment operator.]]
[[`b = a`][`B&`][Assignment from an Arithmetic type. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`b = s`][`B&`][Assignment from a string.]]
[[`b.swap(b)`][`void`][Swaps the contents of it's arguments.]]
[[`cb.str(ui, bb)`][`std::string`][Returns the string representation of `b` with `ui` digits and in scientific format if `bb` is `true`.
@@ -718,7 +718,7 @@
if `cb == cb2`.]]
[[`cb.compare(a)`][`int`][Compares `cb` and `a`, returns a value less than zero if `cb < a`, a value greater than zero if `cb > a` and zero
if `cb == a`. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`add(b, cb)`][`void`][Adds `cb` to `b`.]]
[[`subtract(b, cb)`][`void`][Subtracts `cb` from `b`.]]
[[`multiply(b, cb)`][`void`][Multiplies `b` by `cb`.]]
@@ -744,61 +744,61 @@
[table Optional Requirements on the Backend Type
[[Expression][Returns][Comments]]
[[`add(b, a)`][`void`][Adds `a` to `b`. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`subtract(b, a)`][`void`][Subtracts `a` from `b`. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`multiply(b, a)`][`void`][Multiplies `b` by `a`. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`divide(b, a)`][`void`][Divides `b` by `a`. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`modulus(b, a)`][`void`][Computes `b %= cb`, only required when `B` is an integer type. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`bitwise_and(b, a)`][`void`][Computes `b &= cb`, only required when `B` is an integer type. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`bitwise_or(b, a)`][`void`][Computes `b |= cb`, only required when `B` is an integer type. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`bitwise_xor(b, a)`][`void`][Computes `b ^= cb`, only required when `B` is an integer type. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`add(b, cb, cb2)`][`void`][Add `cb` to `cb2` and stores the result in `b`.]]
[[`subtract(b, cb, cb2)`][`void`][Subtracts `cb2` from `cb` and stores the result in `b`.]]
[[`multiply(b, cb, cb2)`][`void`][Multiplies `cb` by `cb2` and stores the result in `b`.]]
[[`divide(b, cb, cb2)`][`void`][Divides `cb` by `cb2` and stores the result in `b`.]]
[[`add(b, cb, a)`][`void`][Add `cb` to `a` and stores the result in `b`. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`subtract(b, cb, a)`][`void`][Subtracts `a` from `cb` and stores the result in `b`. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`multiply(b, cb, a)`][`void`][Multiplies `cb` by `a` and stores the result in `b`. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`divide(b, cb, a)`][`void`][Divides `cb` by `a` and stores the result in `b`. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`modulus(b, cb, cb2)`][`void`][Computes `cb % cb2` and stores the result in `b`, only required when `B` is an integer type.]]
[[`bitwise_and(b, cb, cb2)`][`void`][Computes `cb & cb2` and stores the result in `b`, only required when `B` is an integer type.]]
[[`bitwise_or(b, cb, cb2)`][`void`][Computes `cb | cb2` and stores the result in `b`, only required when `B` is an integer type.]]
[[`bitwise_xor(b, cb, cb2)`][`void`][Computes `cb ^ cb2` and stores the result in `b`, only required when `B` is an integer type.]]
[[`add(b, a, cb)`][`void`][Add `a` to `cb` and stores the result in `b`. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`subtract(b, a, cb)`][`void`][Subtracts `cb` from `a` and stores the result in `b`. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`multiply(b, a, cb)`][`void`][Multiplies `a` by `cb` and stores the result in `b`. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`divide(b, a, cb)`][`void`][Divides `a` by `cb` and stores the result in `b`. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`modulus(b, cb, a)`][`void`][Computes `cb % a` and stores the result in `b`, only required when `B` is an integer type. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`bitwise_and(b, cb, a)`][`void`][Computes `cb & a` and stores the result in `b`, only required when `B` is an integer type. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`bitwise_or(b, cb, a)`][`void`][Computes `cb | a` and stores the result in `b`, only required when `B` is an integer type. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`bitwise_xor(b, cb, a)`][`void`][Computes `cb ^ a` and stores the result in `b`, only required when `B` is an integer type. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`modulus(b, a, cb)`][`void`][Computes `cb % a` and stores the result in `b`, only required when `B` is an integer type. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`bitwise_and(b, a, cb)`][`void`][Computes `cb & a` and stores the result in `b`, only required when `B` is an integer type. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`bitwise_or(b, a, cb)`][`void`][Computes `cb | a` and stores the result in `b`, only required when `B` is an integer type. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`bitwise_xor(b, a, cb)`][`void`][Computes `a ^ cb` and stores the result in `b`, only required when `B` is an integer type. The type of `a` shall be listed in one of the type lists
- `B::signed_types`, `B::unsigned_types` or `B::real_types`.]]
+ `B::signed_types`, `B::unsigned_types` or `B::float_types`.]]
[[`left_shift(b, cb, ui)`][`void`][Computes `cb << ui` and stores the result in `b`, only required when `B` is an integer type.]]
[[`right_shift(b, cb, ui)`][`void`][Computes `cb >> ui` and stores the result in `b`, only required when `B` is an integer type.]]
[[`increment(b)`][void][Increments the value of `b` by one.]]
Modified: sandbox/big_number/libs/multiprecision/test/Jamfile.v2
==============================================================================
--- sandbox/big_number/libs/multiprecision/test/Jamfile.v2 (original)
+++ sandbox/big_number/libs/multiprecision/test/Jamfile.v2 2011-11-14 08:39:10 EST (Mon, 14 Nov 2011)
@@ -489,7 +489,7 @@
: # requirements
[ check-target-builds ../config//has_mpfr : : <build>no ] ;
-run ../example/mp_float_snips.cpp ;
+run ../example/cpp_float_snips.cpp ;
run test_round.cpp
: # command line
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