From 3ba94dca9035184984109f4ebfb66f4118734cf0 Mon Sep 17 00:00:00 2001 From: Christian Kaiser Date: Mon, 11 May 2009 12:30:05 +0000 Subject: [PATCH] git-svn-id: svn://ttmath.org/publicrep/ttmath/branches/chk@145 e52654a7-88a9-db11-a3e9-0013d4bc506e --- CHANGELOG | 19 ++++++++++++++++--- README | 4 ++-- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 8e0c110..40eed53 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,18 @@ -Version 0.8.4 prerelease (2009.05.05): +Version 0.8.5 (2009.05.11): + * fixed: Big::Mod(x) didn't correctly return a carry + and the result was sometimes very big (even greater than x) + * fixed: global function Mod(x) didn't set an ErrorCode object + * fixed: global function Round() didn't test a carry + now it sets ErrorCode object + * changed: function Sin(x) to Sin(x, ErrorCode * err=0) + when x was very big the function returns zero + now it sets ErrorCode object to err_overflow + and the result is undefined + the same is to Cos() function + * changed: PrepareSin(x) is using Big::Mod() now when reducing 2PI period + should be a little accurate especially on a very big 'x' + +Version 0.8.4 (2009.05.08): * fixed: UInt::DivInt() didn't check whether the divisor is zero there was a hardware interruption when the divisor was zero (now the method returns one) @@ -11,7 +25,7 @@ Version 0.8.4 prerelease (2009.05.05): (like "m" (mask) constraints in Rcl2 and Rcr2) have also gone away, now the library works well with -O2 and -O3 and the asm code is a little faster - * added: UInt::PrintLog(const char * msg, std::ostream & output) + * added: UInt::PrintLog(const char * msg, std::ostream & output) used (for debugging purposes) by macro TTMATH_LOG(msg) (it is used in nearly all methods in UInt class) * added: macro TTMATH_DEBUG_LOG: when defined then TTMATH_LOG() @@ -25,7 +39,6 @@ Version 0.8.4 prerelease (2009.05.05): (it's used when macro TTMATH_NOASM is defined) The third form can be used on x86 and x86_64 as well and on other platforms with a little effort. - (Temporarily I left there some '#ifdef's for debugging.) Version 0.8.3 (2009.04.06): diff --git a/README b/README index acd597c..8b0c476 100644 --- a/README +++ b/README @@ -21,6 +21,6 @@ This means only C++ developers can use this library and one thing they have to do is to use 'include' directive of the preprocessor. How big the values can be is set directly in the source code by the programmer. -Author: Tomasz Sowa -Project pages: http://ttmath.slimaczek.pl +Author: Tomasz Sowa +Project pages: http://www.ttmath.org http://sourceforge.net/projects/ttmath