Re:Why bad scientific code beats code following "best practi...
by barrkel on Monday May 12, 2014 @12:31PM
(#7733721)
My comments were not specific to C. They were a general statement about runtime library provided random number functions across all languages - a risk to be aware of.
There are other mitigations. For example, Java's RNG uses an LCG, but returns the high 32 bits and uses a 48-bit modulus to counter this weakness.
There are other mitigations. For example, Java's RNG uses an LCG, but returns the high 32 bits and uses a 48-bit modulus to counter this weakness.