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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal