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



git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@324 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
Tomasz Sowa 2010-09-29 21:14:32 +00:00
parent 3190f3011f
commit 84f34ebe52
3 changed files with 22 additions and 2 deletions

View File

@ -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

View File

@ -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();
}
};

View File

@ -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