Hacker News new | ask | show | jobs
by gsteinb88 1680 days ago
If you can, working with the logarithms of the intermediate large or small values is one way around the issue

One example talking about this here: http://aosabook.org/en/500L/a-rejection-sampler.html#the-mul...