[issue8692] Use divide-and-conquer for faster factorials

Mark Dickinson report at bugs.python.org
Sat May 15 17:26:36 CEST 2010


Mark Dickinson <dickinsm at gmail.com> added the comment:

But factorial_partial_product and factorial_odd_part both exist:  the former is just computing the product of all odd integers in the given interval, while the latter computes the odd part of factorial(n).

I've double checked the comments and they still look okay to me.  That particular reference really is to factorial_partial_product.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8692>
_______________________________________


More information about the Python-bugs-list mailing list