$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r75071 - sandbox/big_number/boost/multiprecision
From: john_at_[hidden]
Date: 2011-10-20 14:18:27
Author: johnmaddock
Date: 2011-10-20 14:18:27 EDT (Thu, 20 Oct 2011)
New Revision: 75071
URL: http://svn.boost.org/trac/boost/changeset/75071
Log:
Fix eval_ldexp.
Text files modified: 
   sandbox/big_number/boost/multiprecision/mpfr.hpp |     2 ++                                      
   1 files changed, 2 insertions(+), 0 deletions(-)
Modified: sandbox/big_number/boost/multiprecision/mpfr.hpp
==============================================================================
--- sandbox/big_number/boost/multiprecision/mpfr.hpp	(original)
+++ sandbox/big_number/boost/multiprecision/mpfr.hpp	2011-10-20 14:18:27 EDT (Thu, 20 Oct 2011)
@@ -625,6 +625,8 @@
       mpfr_mul_2exp(result.data(), val.data(), e, GMP_RNDN);
    else if(e < 0)
       mpfr_div_2exp(result.data(), val.data(), -e, GMP_RNDN);
+   else
+      result = val;
 }
 template <unsigned Digits10>
 inline void eval_frexp(mpfr_real_backend<Digits10>& result, const mpfr_real_backend<Digits10>& val, int* e)