[SciPy-user] help with precision for big numbers

Alan G Isaac aisaac@american....
Tue May 13 09:17:06 CDT 2008

On Tue, 13 May 2008, Johann Cohen-Tanugi apparently wrote:
> sp.factorial(Non+Noff-i)/sp.factorial(Non-i)

So Damien deduced the problem.  But if you are doing this 
a lot, I wonder if you can get some gain by replacing the 
above expression with a helper function. (I just mean to 
observe that once you compute 33! the other values of this 
expression are very simple multiples of 33!.

Alan Isaac

More information about the SciPy-user mailing list