Ticket #3531 (new defect)

Opened 13 months ago

Last modified 13 months ago

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

Changed 13 months ago by cjl

  • owner set to rwh
  • component changed from untriaged to Calculate
Note: See TracTickets for help on using tickets.