Py 2.6 changes

Alan G Isaac alan.isaac at gmail.com
Tue Sep 2 00:05:35 CEST 2008


bearophileHUGS at lycos.com wrote:
> Now math has factorial:
> http://docs.python.org/dev/library/math.html#math.factorial

That's rather underdocumented.
Does it really attempt exact calculation
for arbitrary integers??  Is there any
way to request a nice fast approximation
for large integers (e.g., with Gosper's
modification of Stirling's formula)?
Alan Isaac



More information about the Python-list mailing list