Perl: the Markov chain saw | |
PerlMonks |
Re: Can I seed srand() with results from rand()?by thor (Priest) |
on Jul 10, 2003 at 12:11 UTC ( [id://272948]=note: print w/replies, xml ) | Need Help?? |
While I think that all of the warnings about this scheme eliminating the randomness of rand(), I think that they might be somewhat unwarranted. He is looking for predictability. Also, calling garden variety rand() does not reduce the entropy of the system because garden variety rand() is purely deterministic. So, nothing to worry about there, either.
thor
In Section
Seekers of Perl Wisdom
|
|