The greatest common divisor. Throws undefined, if both parameters I are equal 0.
Core code registered in leodict.