Author steven.daprano
Recipients akira, brg@gladman.plus.com, gladman, mark.dickinson, scoder, steven.daprano, vstinner
Date 2014-09-24.12:13:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1411560825.66.0.28277541428.issue22477@psf.upfronthosting.co.za>
In-reply-to
Content
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...
History
Date User Action Args
2014-09-24 12:13:45steven.dapranosetrecipients: + steven.daprano, mark.dickinson, scoder, vstinner, akira, gladman, brg@gladman.plus.com
2014-09-24 12:13:45steven.dapranosetmessageid: <1411560825.66.0.28277541428.issue22477@psf.upfronthosting.co.za>
2014-09-24 12:13:45steven.dapranolinkissue22477 messages
2014-09-24 12:13:45steven.dapranocreate