Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78363 - sandbox/big_number/boost/multiprecision
From: e_float_at_[hidden]
Date: 2012-05-06 16:42:56


Author: christopher_kormanyos
Date: 2012-05-06 16:42:55 EDT (Sun, 06 May 2012)
New Revision: 78363
URL: http://svn.boost.org/trac/boost/changeset/78363

Log:
Switched erroneous use of old enum_fpclass to correct new fpclass_type.
Text files modified:
   sandbox/big_number/boost/multiprecision/cpp_dec_float.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: sandbox/big_number/boost/multiprecision/cpp_dec_float.hpp
==============================================================================
--- sandbox/big_number/boost/multiprecision/cpp_dec_float.hpp (original)
+++ sandbox/big_number/boost/multiprecision/cpp_dec_float.hpp 2012-05-06 16:42:55 EDT (Sun, 06 May 2012)
@@ -185,9 +185,9 @@
    cpp_dec_float(const cpp_dec_float<D>& f) :
       exp (f.exp),
       neg (f.neg),
- fpclass (static_cast<enum_fpclass>(static_cast<int>(f.fpclass))),
+ fpclass (static_cast<fpclass_type>(static_cast<int>(f.fpclass))),
       prec_elem(cpp_dec_float_elem_number)
- {
+ {
       // TODO: this doesn't round!
       std::copy(f.data.begin(), f.data.begin() + (std::min)(f.prec_elem, prec_elem), data.begin());
       precision((std::min)(f.prec_elem, prec_elem));
@@ -334,7 +334,7 @@
    {
       exp = f.exp;
       neg = f.neg;
- fpclass = static_cast<enum_fpclass>(static_cast<int>(f.fpclass));
+ fpclass = static_cast<fpclass_type>(static_cast<int>(f.fpclass));
       std::copy(f.data.begin(), f.data.begin() + (std::min)(f.prec_elem, prec_elem), data.begin());
       precision((std::min)(f.prec_elem, prec_elem));
       return *this;


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