Ticket #3531 (new defect)
factorial() and fac() are redundant
| Reported by: | cjl | Owned by: | rwh |
|---|---|---|---|
| Priority: | Unspecified by Maintainer | Milestone: | Unspecified by Release Team |
| Component: | Calculate | Version: | Unspecified |
| Severity: | Unspecified | Keywords: | |
| Cc: | Distribution/OS: | Unspecified | |
| Bug Status: | Unconfirmed |
Description
These "two" functions appear to be exactly the same mathematical concept, except one says "n" and the other says "x".
functions.py:244
factorial(n), return the factorial of n. Given by n * (n - 1) * (n - 2) * ...
functions.py:250
fac(x), return the factorial of x. Given by x * (x - 1) * (x - 2) * ...
Change History
Note: See
TracTickets for help on using
tickets.
