On 2 Jan 2006 03:35:33 -0800, "Raven" <[EMAIL PROTECTED]> wrote: [...] > >The problem with long integers is that to calculate the hypergeometric >I need to do float division and multiplication because integer division >returns 0. A solution could be to calculate log(Long_Factorial_Integer)
ISTM you wouldn't get zero if you scaled by 10**significant_digits (however many you require) before dividing. E.g., expected hits per trillion (or septillion or whatever) expresses probability too. Perhaps that could work in your calculation? Regards, Bengt Richter -- http://mail.python.org/mailman/listinfo/python-list