gcd method

int gcd(
  1. int other
)

Returns the greatest common divisor of this integer and other.

Implementation

int gcd(int other) => NumbersHelper.gcd(this, other);