diff --git a/CHANGELOG b/CHANGELOG index 1f80b1a..6b03f09 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,11 @@ +Version 0.9.3 prerelease (2010.09.29): + * added: Parser::InitCGamma() + initializing coefficients used when calculating the gamma (or factorial) function + this speed up the next calculations + you don't have to call this method explicitly + these coefficients will be calculated when needed + + Version 0.9.2 (2010.09.23): * fixed: Big::Add() sometimes incorrectly rounded the last bit from its mantissa * fixed: Big::BigAnd() Big::BigOr() Big::BigXor() should have set NaN diff --git a/ttmath/ttmathparser.h b/ttmath/ttmathparser.h index 1b3ed91..ce07120 100644 --- a/ttmath/ttmathparser.h +++ b/ttmath/ttmathparser.h @@ -2755,6 +2755,18 @@ bool Calculated() } +/*! + initializing coefficients used when calculating the gamma (or factorial) function + this speed up the next calculations + you don't have to call this method explicitly + these coefficients will be calculated when needed +*/ +void InitCGamma() +{ + cgamma.InitAll(); +} + + }; diff --git a/ttmath/ttmathtypes.h b/ttmath/ttmathtypes.h index 0590d2f..8f1979b 100644 --- a/ttmath/ttmathtypes.h +++ b/ttmath/ttmathtypes.h @@ -72,9 +72,9 @@ */ #define TTMATH_MAJOR_VER 0 #define TTMATH_MINOR_VER 9 -#define TTMATH_REVISION_VER 2 +#define TTMATH_REVISION_VER 3 -#define TTMATH_PRERELEASE_VER 0 +#define TTMATH_PRERELEASE_VER 1