[issue35431] The math module should provide a function for computing binomial coefficients

Mark Dickinson report at bugs.python.org
Fri Dec 7 08:37:36 EST 2018


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

One more decision that needs to be made: should the new function accept integer-valued floats? Or should any `float` input give a TypeError.

I'd personally prefer that floats not be accepted; I think this was a misfeature of `factorial` that we shouldn't compound.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35431>
_______________________________________


More information about the Python-bugs-list mailing list