05.06.2009, 17:39
The Pawn manual has this to say about its random number generator:
Of course, serial correlation is the correlation of a variable with itself over successive time intervals. Unfortunately the Pawn language was just not designed with high quality random numbers in mind. In most other languages this problem is rarely noticed because we can seed the random number generator with the current time. We should stop testing between each other, and write a higher quality random number generator.
Quote:
|
Originally Posted by Pawn-lang.pdf
The standard random number generator of pawn is likely a linear congruential pseudo-random number generator with a range and a period of 231. Linear congruential pseudo-random number generators suffer from serial correlation (especially in the low bits) and it is unsuitable for applications that require high-quality random numbers.
|

