Message199624
While implementing a Least-Common-Multiple function (LCM), I noticed that although python has a Greatest-Common-Divisor (GCD) function in the fractions module, the LCM, its counterpart is not there.
I've attached a patch which implements and tests LCM in the fractions module.
It would really need documentation, but maybe GCD and LCD should be moved to the math module first ? |
|
Date |
User |
Action |
Args |
2013-10-12 21:39:45 | CliffM | set | recipients:
+ CliffM |
2013-10-12 21:39:45 | CliffM | set | messageid: <1381613985.13.0.579421159234.issue19237@psf.upfronthosting.co.za> |
2013-10-12 21:39:45 | CliffM | link | issue19237 messages |
2013-10-12 21:39:45 | CliffM | create | |
|