|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r84763 - trunk/boost/multiprecision
From: john_at_[hidden]
Date: 2013-06-13 12:21:59
Author: johnmaddock
Date: 2013-06-13 12:21:59 EDT (Thu, 13 Jun 2013)
New Revision: 84763
URL: http://svn.boost.org/trac/boost/changeset/84763
Log:
Apply patch from #8692.
Refs #8692.
Text files modified:
trunk/boost/multiprecision/mpfr.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/multiprecision/mpfr.hpp
==============================================================================
--- trunk/boost/multiprecision/mpfr.hpp Thu Jun 13 12:09:11 2013 (r84762)
+++ trunk/boost/multiprecision/mpfr.hpp 2013-06-13 12:21:59 EDT (Thu, 13 Jun 2013) (r84763)
@@ -919,7 +919,7 @@
}
void precision(unsigned digits10) BOOST_NOEXCEPT
{
- mpfr_set_prec(this->m_data, multiprecision::detail::digits2_2_10((digits10)));
+ mpfr_prec_round(this->m_data, multiprecision::detail::digits10_2_2((digits10)), GMP_RNDN);
}
};
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