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:
parent
d5a5ea1a7d
commit
35f2a8a28b
|
@ -729,7 +729,7 @@ private:
|
|||
uint RoundHalfToEven(bool is_half, bool rounding_up = true)
|
||||
{
|
||||
uint c = 0;
|
||||
return 0;
|
||||
|
||||
if( !is_half || mantissa.IsTheLowestBitSet() )
|
||||
{
|
||||
if( rounding_up )
|
||||
|
|
Loading…
Reference in New Issue