Euclid's algorithm

Just for fun:

var _gcd = function(a, b) { return ( b == 0 ) ? a : _gcd( b, a%b ); }

Let’s keep in touch

Get noise-free updates on software, product, and process.

Hey, I'm RJ: digital entomologist and intermittent micropoet, writing from the beautiful Rose City.