Proving optimized function is still correct

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Tue Nov 13 12:55:16 EST 2001


Mon, 12 Nov 2001 21:38:09 +2328, Fernando Pérez <fperez528 at yahoo.com> pisze:

> By the way, you should use long integers so that the factorials
> don't blow up in your face for large numbers.

Or use a recent version of Python (e.g. 2.2b1) which automatically
switch to long integers instead of raising OverflowError.

-- 
 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^
QRCZAK



More information about the Python-list mailing list