Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75319 - sandbox/multiprecision/boost/multiprecision
From: e_float_at_[hidden]
Date: 2011-11-04 17:34:05


Author: christopher_kormanyos
Date: 2011-11-04 17:34:04 EDT (Fri, 04 Nov 2011)
New Revision: 75319
URL: http://svn.boost.org/trac/boost/changeset/75319

Log:
- Changed max_digits10 in numeric_limits<mp_float> to be one (digits10 + 1).
Text files modified:
   sandbox/multiprecision/boost/multiprecision/mp_float.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/multiprecision/boost/multiprecision/mp_float.hpp
==============================================================================
--- sandbox/multiprecision/boost/multiprecision/mp_float.hpp (original)
+++ sandbox/multiprecision/boost/multiprecision/mp_float.hpp 2011-11-04 17:34:04 EDT (Fri, 04 Nov 2011)
@@ -57,7 +57,7 @@
       static const bool is_iec559 = false;
       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 int max_digits10 = boost::multiprecision::mp_float::mp_float_digits10 + 1;
       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.


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