src/HumNum.cpp
int HumNum::gcdRecursive(int a, int b) {
	if (a < 0) {
		a = -a;
	}
	if (!b) {
		return a;
	} else {
		return gcdRecursive(b, a % b);
	}
}
//////////////////////////////
//
// HumNum::gcdRecursive -- Returns the greatest common divisor of two
//      numbers using a recursive algorithm.
//
:gcdRecursive -- Returns the greatest common divisor of two
numbers using a recursive algorithm.
: gcdRecursive -- Returns the greatest common divisor of two numbers using a recursive algorithm .
int HumNum::gcdRecursive(int a, int b) {
	if (a < 0) {
		a = -a;
	}
	if (!b) {
		return a;
	} else {
		return gcdRecursive(b, a % b);
	}
}
int HumNum :: gcdRecursive ( int a , int b ) { if ( a < 0 ) { a = - a ; } if ( ! b ) { return a ; } else { return gcdRecursive ( b , a % b ) ; } }
HumNum::gcdRecursive -- Returns the greatest common divisor of two
numbers using a recursive algorithm.
HumNum :: gcdRecursive -- Returns the greatest common divisor of two numbers using a recursive algorithm .