Open tdegeus opened 3 years ago
That's basically what pcg32x2
does, although perhaps it could do it a good deal better.
(Specifically, it would be much better if the two PRNGs tied together used different multiplicative constants, but that would push things further away from being maximally simple.)
I see @imneme . Thanks a lot for the clarification. I guess that in order to keep things minimal I will consider living with the 32bit implementation. My purpose is anyway to have to most 'exact' random number.
Thanks a lot for this wonderfully simple code! I just had a question and that is, is there an equally simple way to generate a 64-bit stream?