Qvaq

Search for Groups

Create New Group

Hot Groups

New Groups

Recently Active Groups

Beautiful Code

Beautiful Code

Snippets of beautiful and clever programming code.

Group Members (2)

Bild
murtlest
i tyresö
Bild
Sissy
~<3Tristin&Mary<3~

murtlest 2013-01-13, 15:03

Short, brilliant, recursive function for calculating the greatest common divisor:

function gcd(a, b) { 
   return b ? gcd(b, a % b) : a; 
}


By murtlest in beautiful code on 2013-01-13 15:03:47.