Message227447
If we are considering adding a new gcd elsewhere (say, in the math module), then it should accept any arbitrary number of arguments, not just two. (At least one argument though.)
Also, Mathematica supports the GCD of rational numbers, not just integers. Should we do the same?
Would it be too confusing to have fractions.gcd and fractions.Fraction.gcd both exist but behave differently? I fear so.
I wish we had a mathlib.py standard module for pure Python implementations... |
|
Date |
User |
Action |
Args |
2014-09-24 12:13:45 | steven.daprano | set | recipients:
+ steven.daprano, mark.dickinson, scoder, vstinner, akira, gladman, brg@gladman.plus.com |
2014-09-24 12:13:45 | steven.daprano | set | messageid: <1411560825.66.0.28277541428.issue22477@psf.upfronthosting.co.za> |
2014-09-24 12:13:45 | steven.daprano | link | issue22477 messages |
2014-09-24 12:13:45 | steven.daprano | create | |
|