"Andrey A. Chernov" <[EMAIL PROTECTED]> writes: > With NSHUFF 100 situation not changed much, so I beleive that stated > problem is common for this type PRNGs, so we gains nothing changing > formulae to Knuth-recommended values.
Yes we do. We get a better sequence for any given seed, i.e. we get less correlation between n and x(n) for any given x(0). I don't think it changes much for long sequences, but we get a better distribution for short sequences (including short subsequences of long sequences). As for patterns in the lower bits, we should try with a != 0 and see how that affects the results. I believe the purpose of a in the LCG algorithm is to scramble the lower bits. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message