Android Utililty Methods Long GCD

List of utility methods to do Long GCD

Description

The list of methods to do Long GCD are organized into topic(s).

Method

longgcd(final long p, final long q)

Gets the greatest common divisor of the absolute value of two numbers, using the "binary gcd" method which avoids division and modulo operations.