Python  1.0
Classes | Namespaces | Functions
_05a_gcd.py File Reference

Classes

class  _05a_gcd.Usage
 Exception class. More...
 

Namespaces

 _05a_gcd
 Euclid' (300 BC) GCD algorithm.
 

Functions

def _05a_gcd.gcdr (a, b)
 GCD (Greatest Common Divisor) of two integers. More...
 
def _05a_gcd.gcdi (a, b)
 GCD (Greatest Common Divisor) of two integers. More...
 
def _05a_gcd.gcdf (x, y)
 GCD (Greatest Common Divisor) of two integers. More...
 
def _05a_gcd.lcm (x, y)
 Least Common Multiple, which returns the smallest number that can be divided by x and y without any remainder. More...
 
def _05a_gcd.main (argv=None)
 main function for testing. More...