Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73309 - sandbox/e_float/libs/e_float/src/e_float/efx
From: e_float_at_[hidden]
Date: 2011-07-23 07:05:13


Author: christopher_kormanyos
Date: 2011-07-23 07:05:12 EDT (Sat, 23 Jul 2011)
New Revision: 73309
URL: http://svn.boost.org/trac/boost/changeset/73309

Log:
- Corrected a sign error in the scaling that was in efx::e_float's ctor from double.
Text files modified:
   sandbox/e_float/libs/e_float/src/e_float/efx/e_float_efx.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/e_float/libs/e_float/src/e_float/efx/e_float_efx.cpp
==============================================================================
--- sandbox/e_float/libs/e_float/src/e_float/efx/e_float_efx.cpp (original)
+++ sandbox/e_float/libs/e_float/src/e_float/efx/e_float_efx.cpp 2011-07-23 07:05:12 EDT (Sat, 23 Jul 2011)
@@ -121,7 +121,7 @@
     }
     else if((p2 < 0) && (p2 > -27))
     {
- div_by_int(static_cast<INT32>(1uL << p2));
+ div_by_int(static_cast<INT32>(1uL << -p2));
     }
     else
     {


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