Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: is rand random enough to simulate dice rolls?by etj (Deacon) |
on Apr 18, 2022 at 19:44 UTC ( [id://11143061]=note: print w/replies, xml ) | Need Help?? |
I saw this post while looking up old PDL nodes, and you mentioned PDL there. PDL as of 2.062 uses a "better" (and thread-safe, for potential massive performance gainz) pseudo-random number generator, xoroshiro256plus (see link for thorough statistical analysis of it and competing algorithms) rather than the often-weak and usually non-thread-safe system rand() that Perl uses.
In Section
Seekers of Perl Wisdom
|
|