From 31563ce3430fae9abcc39d3381bf02204d031a69 Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Mon, 14 Dec 2009 15:54:23 +0000 Subject: [PATCH] fixed: I have forgotten to remove rounding down from division (Big::div) git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@264 e52654a7-88a9-db11-a3e9-0013d4bc506e --- ttmath/ttmathbig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ttmath/ttmathbig.h b/ttmath/ttmathbig.h index 1b5044a..9789468 100644 --- a/ttmath/ttmathbig.h +++ b/ttmath/ttmathbig.h @@ -1351,7 +1351,7 @@ public: if( round && (man1.table[man-1] & TTMATH_UINT_HIGHEST_BIT) != 0 ) { bool is_half = CheckGreaterOrEqualHalf(man1.table, man); - c += RoundHalfToEven(is_half, true); + c += RoundHalfToEven(is_half); } if( IsSign() == ss2.IsSign() )