diff --git a/ttmath/ttmathbig.h b/ttmath/ttmathbig.h index a658d1f..771f9c8 100644 --- a/ttmath/ttmathbig.h +++ b/ttmath/ttmathbig.h @@ -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 )