26 ms·
The author does some neat things. When they're comparing Really Small Numbers multiplied together, to avoid underflow, they instead calculate the logs of the pi
by gknoy 11y ago
The author does some neat things. When they're comparing Really Small Numbers multiplied together, to avoid underflow, they instead calculate the logs of the pieces and add them. Very nice. :)
- samlewis 11y agoIt's a fairly common (but cool nonetheless) trick that often turns up in stats :)