mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 20:59:42 +02:00
* minor fix for new Random
This commit is contained in:
parent
3f4f17e1f6
commit
a3636fc097
@ -370,6 +370,8 @@ const
|
||||
|
||||
VAR
|
||||
mt : tMT19937StateArray;
|
||||
|
||||
const
|
||||
mti: longint=MT19937N+1; // mti=MT19937N+1 means mt[] is not initialized
|
||||
|
||||
{ Initializing the array with a seed }
|
||||
@ -845,7 +847,10 @@ end;
|
||||
|
||||
{
|
||||
$Log$
|
||||
Revision 1.44 2003-10-26 18:46:02 jonas
|
||||
Revision 1.45 2003-10-26 21:15:43 hajny
|
||||
* minor fix for new Random
|
||||
|
||||
Revision 1.44 2003/10/26 18:46:02 jonas
|
||||
* replaced random generator with the Mersenne twister, which is about
|
||||
3.5 times faster
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user