From 996fac15f1b85e2929d01a158921aa368af28c65 Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Sun, 19 Sep 2010 21:58:51 +0000 Subject: [PATCH] in Big::ToString_CreateNewMantissaTryExponent(): ToString_BaseRound can be called only for non integer values git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@313 e52654a7-88a9-db11-a3e9-0013d4bc506e --- ttmath/ttmathbig.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ttmath/ttmathbig.h b/ttmath/ttmathbig.h index 4d70c76..751cefc 100644 --- a/ttmath/ttmathbig.h +++ b/ttmath/ttmathbig.h @@ -3618,6 +3618,7 @@ private: // making sure the new mantissa will be without fraction (integer) ToString_CheckMantissaInteger(new_man, new_exp); } + else if( conv.base_round ) { c += ToString_BaseRound(new_man, conv, new_exp);