[fpc-pascal] Re: random numbers
Vincent Snijders
vsnijders at quicknet.nl
Thu Mar 9 18:38:07 CET 2006
Antal wrote:
> As I noticed, when initialized the randseed with the same value, the
> whole rand values in the chain will be totally identical, which I'm
> afraid is rather far from what we might expect from a "real" random
> number generator!
Indeed, it isn't a real random number generator and in fact this is a
good thing, otherwise you wouldn't be able to reproduce any behaviour
with a Pseudo RNG. The fact it is Pseudo is advantageous in some cases.
Vincent
More information about the fpc-pascal
mailing list