src/Alg/Math/NaturalNumbers.php
public function gcd( $m, $n )
	{
		if( $n != 0 )
			return NaturalNumbers::gcd( $n, $m % $n );
		else
			return $m;
	}
public function gcd( $m, $n )
	{
		if( $n != 0 )
			return NaturalNumbers::gcd( $n, $m % $n );
		else
			return $m;
	}
public function gcd ( $ m , $ n ) { if ( $ n != 0 ) return NaturalNumbers :: gcd ( $ n , $ m % $ n ) ; else return $ m ; }
Calcalates greatest common Divisor of m and n.
@access		public
@param		int		m		Natural Number m
@param		int		n		Natural Number n
@return		int
Calcalates greatest common Divisor of m and n .