GCD in standard library?

Grant Edwards grante at visi.com
Wed Mar 12 22:14:50 EST 2003


In article <v6vmdiiqt3kt3f at corp.supernews.com>, Blake Garretson wrote:

> Unless I've been missing something for years, I don't believe there are any
> functions built-in or in the standard library that find the Greatest Common
> Divsor (GCD) of two integers. 
[...]
> I'm just guessing it is very common for people to have to add this to their
> programs:

I've been programming for 30 years and have never once had to determine the
GCD of two integers.  From my perspective it's not very common.  ;)

-- 
Grant Edwards                   grante             Yow!  ... Um...Um...
                                  at               
                               visi.com            




More information about the Python-list mailing list