lib/stats.js
function gcd(a, b) {
		if (b === 0) {
			return a;
		}

		return gcd(b, a - b * Math.floor(a / b));
	}
function gcd(a, b) {
		if (b === 0) {
			return a;
		}

		return gcd(b, a - b * Math.floor(a / b));
	}
function gcd ( a , b ) { if ( b === 0 ) { return a ; } return gcd ( b , a - b * Math . floor ( a / b ) ) ; }
Private. Calculates the gcd of two numbers using Euclid's method.  Returns a Number.
Private . Calculates the gcd of two numbers using Euclid s method . Returns a Number .