final preparations for the 2.03c

This commit is contained in:
zueuk
2006-01-06 16:29:02 +00:00
parent e3d705bd3d
commit 3325cac7de
7 changed files with 45 additions and 23 deletions

View File

@ -30,7 +30,7 @@ implementation
uses
Math;
{ TVariationTest }
{ TVariationRings2 }
///////////////////////////////////////////////////////////////////////////////
procedure TVariationRings2.Prepare;
@ -56,7 +56,7 @@ begin
// dx := sqr(FVal) + EPS; - we can precalc it!!!
// r := Length + dx - System.Int((Length + dx)/(2 * dx)) * 2 * dx - dx + Length * (1-dx);
// ^^^^......he he, lots of useless calculation.......^^^^
// ^^^^......he he, lots of useless calculations......^^^^
r := vvar * (2 - dx * (System.Int((Length/dx + 1)/2) * 2 / Length + 1));
FPx^ := FPx^ + r * FTx^;