Message332862
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. |
|
Date |
User |
Action |
Args |
2019-01-02 11:14:27 | FR4NKESTI3N | set | recipients:
+ FR4NKESTI3N |
2019-01-02 11:14:25 | FR4NKESTI3N | set | messageid: <1546427665.46.0.211230468351.issue35637@roundup.psfhosted.org> |
2019-01-02 11:14:25 | FR4NKESTI3N | link | issue35637 messages |
2019-01-02 11:14:25 | FR4NKESTI3N | create | |
|