|
Le 16/03/2010 09:54, Christopher Eykamp a écrit :
When I run the following snippet, I get unexpected results. About 50% of the results are the same (I've omitted the different ones from my results list, because they're not as interesting :-)
The Wikipedia page concerning LCGs[1] should give you a correct answer to this question. ;)
Thomas. [1] http://en.wikipedia.org/wiki/Linear_congruential_generator