This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author FR4NKESTI3N
Recipients FR4NKESTI3N
Date 2019-01-02.11:14:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546427665.46.0.211230468351.issue35637@roundup.psfhosted.org>
In-reply-to
Content
Factorial as of now accepts only integers or integral floats. 
I want to suggest extending the definition of float to accept all positive real numbers to be more consistent with general definition of factorial that uses gamma function.

What I am proposing is:
1. for integer value, the function should work as it does and return integer result.

2. for float input, both integer and non-integer valued, the returned value should be a floating point number.

3. the input domain should be extended to all real numbers except negative integers.

Such generalized function would feel more mathematically consistent.
History
Date User Action Args
2019-01-02 11:14:27FR4NKESTI3Nsetrecipients: + FR4NKESTI3N
2019-01-02 11:14:25FR4NKESTI3Nsetmessageid: <1546427665.46.0.211230468351.issue35637@roundup.psfhosted.org>
2019-01-02 11:14:25FR4NKESTI3Nlinkissue35637 messages
2019-01-02 11:14:25FR4NKESTI3Ncreate