diff --git a/doc/html/boost_multiprecision/map/hist.html b/doc/html/boost_multiprecision/map/hist.html
index 48255fa9..aebfe5a8 100644
--- a/doc/html/boost_multiprecision/map/hist.html
+++ b/doc/html/boost_multiprecision/map/hist.html
@@ -28,6 +28,14 @@
+-
+ Fix bug in assignment from string in cpp_int, see 9936.
+
+
@@ -218,7 +226,7 @@
diff --git a/doc/html/boost_multiprecision/tut/limits/functions.html b/doc/html/boost_multiprecision/tut/limits/functions.html
index 4dfa5dbf..7e8cbc7c 100644
--- a/doc/html/boost_multiprecision/tut/limits/functions.html
+++ b/doc/html/boost_multiprecision/tut/limits/functions.html
@@ -319,15 +319,8 @@
T expected = 1.0;
T calculated = 1.0 + std::numeric_limits<T>::epsilon();
-using boost::test_tools::check_is_close;
-
-bool r = check_is_close(expected, calculated, tolerance);
-std::cout << std::boolalpha << r << std::endl;
+BOOST_CHECK_CLOSE_FRACTION(expected, calculated, tolerance);
-
- If using Boost.Test, then call the macro version:
-
-BOOST_CHECK_CLOSE_FRACTION(expected, calculated, tolerance);
used thus:
@@ -357,10 +350,8 @@
cpp_dec_float_50 tolerance = 3 * std::numeric_limits<cpp_dec_float_50>::epsilon();
cpp_dec_float_50 expected = boost::math::constants::two_pi<cpp_dec_float_50>();
cpp_dec_float_50 calculated = 2 * boost::math::constants::pi<cpp_dec_float_50>();
-using boost::test_tools::check_is_close;
-bool r = check_is_close(expected, calculated, tolerance);
-std::cout << std::boolalpha << r << std::endl;
+BOOST_CHECK_CLOSE_FRACTION(expected, calculated, tolerance);
@@ -441,13 +432,11 @@
cpp_bin_float_quad expected = NaN;
cpp_bin_float_quad calculated = 2 * NaN;
- using boost::test_tools::check_is_close;
-
- bool r = check_is_close(expected, expected, tolerance);
- std::cout << std::boolalpha << r << std::endl;
-
- r = check_is_close(expected, calculated, tolerance);
- std::cout << std::boolalpha << r << std::endl;
+
+ bool b = expected == calculated;
+ std::cout << b << std::endl;
+ BOOST_CHECK_NE(expected, expected);
+ BOOST_CHECK_NE(expected, calculated);
}
else
{
@@ -507,7 +496,6 @@
assert(ss.str() == "nan");
std::cout << "NaN output was " << ss.str() << std::endl;
ss >> n;
- assert(NaN == n);
std::cout << "NaN input was " << n << std::endl;
}
diff --git a/doc/html/index.html b/doc/html/index.html
index 1207d104..1e4f62a1 100644
--- a/doc/html/index.html
+++ b/doc/html/index.html
@@ -157,7 +157,7 @@
-Last revised: April 13, 2014 at 10:27:32 GMT |
+Last revised: May 23, 2014 at 11:16:27 GMT |
|
diff --git a/doc/multiprecision.qbk b/doc/multiprecision.qbk
index 41f7b1f1..8b3da640 100644
--- a/doc/multiprecision.qbk
+++ b/doc/multiprecision.qbk
@@ -4919,6 +4919,10 @@ Windows Vista machine.
[section:hist History]
+[h4 Multiprecision-2.2.1 (Boost-1.56)]
+
+* Fix bug in assignment from string in cpp_int, see [@https://svn.boost.org/trac/boost/ticket/9936 9936].
+
[h4 Multiprecision-2.2.0]
* Moved to Boost.Multiprecision specific version number - we have one breaking change in Boost-1.54