[issue35637] Factorial should be able to evaluate float arguments

Mark Dickinson report at bugs.python.org
Wed Jan 2 07:43:20 EST 2019


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

See related discussion in issue #33083.

Are you aware that `math.gamma` and `math.lgamma` exist? These already provide the ability to compute the "factorial" of a non-integral input.

I'd be opposed to extending math.factorial to accept non-integral floats.

----------
nosy: +mark.dickinson

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


More information about the Python-bugs-list mailing list