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 committed 2010-09-29 21:14:32 +00:00
1 parent 3190f3011f
commit 84f34ebe52
3 files changed
+22 -2

No files matched your search

+8
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
+12
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();
}
};
+2 -2
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