Issue37109
Created on 2019-05-31 08:52 by Antony.Lee, last changed 2022-04-11 14:59 by admin. This issue is now closed.
| Messages (4) | |||
|---|---|---|---|
| msg344039 - (view) | Author: Antony Lee (Antony.Lee) * | Date: 2019-05-31 08:52 | |
https://docs.python.org/3/library/math.html says The following functions are provided by this module. Except when explicitly noted otherwise, all return values are floats. and math.factorial(x) Return x factorial. Raises ValueError if x is not integral or is negative. but math.factorial returns an int (which is perfectly reasonable and just needs to be documented): In [3]: math.factorial(5) Out[3]: 120 |
|||
| msg344046 - (view) | Author: Karthikeyan Singaravelan (xtreak) * | Date: 2019-05-31 09:23 | |
Is this same as issue25735 ? |
|||
| msg344048 - (view) | Author: Antony Lee (Antony.Lee) * | Date: 2019-05-31 09:29 | |
oops, missed that, thanks for pointing that out. |
|||
| msg344090 - (view) | Author: Cheryl Sabella (cheryl.sabella) * | Date: 2019-05-31 16:44 | |
Thanks for pointing out the other issue. I've now merged it. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:16 | admin | set | github: 81290 |
| 2019-05-31 16:44:19 | cheryl.sabella | set | nosy:
+ cheryl.sabella messages: + msg344090 |
| 2019-05-31 09:57:21 | Antony.Lee | set | nosy:
- Antony.Lee |
| 2019-05-31 09:53:36 | xtreak | set | superseder: math.factorial doc should mention integer return type resolution: duplicate |
| 2019-05-31 09:29:34 | Antony.Lee | set | status: open -> closed messages:
+ msg344048 |
| 2019-05-31 09:23:34 | xtreak | set | nosy:
+ xtreak messages: + msg344046 |
| 2019-05-31 08:52:17 | Antony.Lee | create | |