logoalt Hacker News

syntacticsalt • today at 6:36 AM • 1 reply • view on HN

Curious why you used Box-Muller for normal PRNGs instead of Ziggurat.


Replies

seanhunter • today at 8:53 AM

Ziggurat is badass. It’s also one of those algorithms (like “Metropolis-Hastings”) that has a fantastic name to go along with cool mathematical and practical properties.

https://heliosphan.org/zigguratalgorithm/zigguratalgorithm.h...