Utils.greatestCommonDivisorInt64

Calculates the greatest common divisor of a and b.

struct Utils
static
long
greatestCommonDivisorInt64
(
long a
,
long b
)

Parameters

a long

First value as gint64

b long

Second value as gint64

Return Value

Type: long

Greatest common divisor of a and b