3 ms·
So, what PRNG does Random() use? LCG (linear congruential)? LFS (lagged Fibonacci)? MT (Mersenne twister)? In each case it's a linear function of some global va
by bregma 3y ago
So, what PRNG does Random() use? LCG (linear congruential)? LFS (lagged Fibonacci)? MT (Mersenne twister)? In each case it's a linear function of some global variable, not any kind of random number generator. Treating it as if it's a random number generator is silly. It's a pseudo-random number generator, pure algebra.