|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86194 - in sandbox/multiprecision.cpp_bin_float: boost/multiprecision/cpp_bin_float libs/multiprecision/performance
From: john_at_[hidden]
Date: 2013-10-07 14:17:32
Author: johnmaddock
Date: 2013-10-07 14:17:32 EDT (Mon, 07 Oct 2013)
New Revision: 86194
URL: http://svn.boost.org/trac/boost/changeset/86194
Log:
Fix string IO error.
Disable mpreal tests - they don't work anymore :-(
Text files modified:
sandbox/multiprecision.cpp_bin_float/boost/multiprecision/cpp_bin_float/io.hpp | 2 ++
sandbox/multiprecision.cpp_bin_float/libs/multiprecision/performance/sf_performance.hpp | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
Modified: sandbox/multiprecision.cpp_bin_float/boost/multiprecision/cpp_bin_float/io.hpp
==============================================================================
--- sandbox/multiprecision.cpp_bin_float/boost/multiprecision/cpp_bin_float/io.hpp Mon Oct 7 14:16:19 2013 (r86193)
+++ sandbox/multiprecision.cpp_bin_float/boost/multiprecision/cpp_bin_float/io.hpp 2013-10-07 14:17:32 EDT (Mon, 07 Oct 2013) (r86194)
@@ -290,6 +290,8 @@
calc_exp = boost::multiprecision::cpp_bf_io_detail::restricted_pow(t, cpp_int(5), decimal_exp, max_bits, error);
calc_exp += boost::multiprecision::cpp_bf_io_detail::restricted_multiply(t, t, n, max_bits, error);
}
+ else
+ t = n;
exponent() = (int)Bits - 1;
exponent() += decimal_exp;
exponent() += calc_exp;
Modified: sandbox/multiprecision.cpp_bin_float/libs/multiprecision/performance/sf_performance.hpp
==============================================================================
--- sandbox/multiprecision.cpp_bin_float/libs/multiprecision/performance/sf_performance.hpp Mon Oct 7 14:16:19 2013 (r86193)
+++ sandbox/multiprecision.cpp_bin_float/libs/multiprecision/performance/sf_performance.hpp 2013-10-07 14:17:32 EDT (Mon, 07 Oct 2013) (r86194)
@@ -12,7 +12,7 @@
# define TEST_MPF
# define TEST_CPP_DEC_FLOAT
# define TEST_MPFR_CLASS
-# define TEST_MPREAL
+//# define TEST_MPREAL
# define TEST_FLOAT
#endif
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