Utils.greatestCommonDivisor

Calculates the greatest common divisor of @a and @b.

struct Utils
static
int
greatestCommonDivisor
(
int a
,
int b
)

Parameters

a int

First value as #gint

b int

Second value as #gint

Return: Greatest common divisor of @a and @b

Meta