2 ms·
And if that's not random enough you should be able to fix it by applying a non-multiplicative function (shifts and booleans for example) to the output values. F
by phkahler 5y ago
And if that's not random enough you should be able to fix it by applying a non-multiplicative function (shifts and booleans for example) to the output values. Feeding one random sequence into a different form of pseudo-random mapping has been shown to be highly effective even when the two functions themselves fail test of randomness.
Edit: This is the concept I was thinking of:
https://en.wikipedia.org/wiki/Permuted_congruential_generator https://en.wikipedia.org/wiki/Permuted_congruential_generato...