On Thu, Aug 04, 2005 at 08:13:11PM -0700, Jordan Rastrick wrote: > Raising an assertion error for a < b is a bit of overkill, since its > not really a case of bad input. So normally you see Euclid done like > this: [snipped]
My point was not so much that this was the ultimate implementation of GCD, but that the obvious search would have turned up many enlightening results, including the topmost one. Jeff
pgpav0Ib9ZiwM.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list