the half-to-even rounding was turned off (some 'return' statement left)
git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@284 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -729,7 +729,7 @@ private:
|
|||||||
uint RoundHalfToEven(bool is_half, bool rounding_up = true)
|
uint RoundHalfToEven(bool is_half, bool rounding_up = true)
|
||||||
{
|
{
|
||||||
uint c = 0;
|
uint c = 0;
|
||||||
return 0;
|
|
||||||
if( !is_half || mantissa.IsTheLowestBitSet() )
|
if( !is_half || mantissa.IsTheLowestBitSet() )
|
||||||
{
|
{
|
||||||
if( rounding_up )
|
if( rounding_up )
|
||||||
|
Reference in New Issue
Block a user