2 ms·
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
by kqr 6y ago
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.