av_gcd

Compute the greatest common divisor of a and b.

@return gcd of a and b up to sign; if a >= 0 and b >= 0, return value is >= 0; if a == 0 and b == 0, returns 0.

@nogc nothrow extern (C)
int64_t
av_gcd
(
int64_t a
,
int64_t b
)

Meta