News for hackers. Stuff that matters.
Re:Creating randomness Without Math.random by kqr on Monday July 13, 2020 @05:16AM (#23818781)
Very clever. My first instinct was that that would be inefficient, but addition is super cheap and the uniform distribution converges rathe quickly to normal. I like it a lot!

Even if LCG itself would be considered expensive, for quick prototyping needs this should be sufficient.

There are no comments on this comment yet.