3 ms·
That's still just a linear congruential PRNG with state sizeof(unsigned int). LCG is simple and has well-known flaws.
by bregma 6y ago
That's still just a linear congruential PRNG with state sizeof(unsigned int). LCG is simple and has well-known flaws.
- IIAOPSW 6y agoNo it is not an LCG. When you distribute the terms there is a -4x_n^2. Therefore it is non-linear.