☰
D
dejadoc
GID:GST1
/
gst.global
/
utilGreatestCommonDivisor
🔍
☾
utilGreatestCommonDivisor
fn
int utilGreatestCommonDivisor(int a, int b)
Calculates the greatest common divisor of
a
and
b
.
Parameters
a
First value as #gint
b
Second value as #gint
Returns
Greatest common divisor of
a
and
b