Name | Description | |
---|---|---|
gcd | Overloaded. Method that calculates the Greatest Common Divisor (GCD) of two positive integer numbers. | |
lcm | Overloaded. Method that calculates the Least Common Multiple (LCM) of two strictly positive integer numbers. | |
log2 | Method that calculates the floor of the log, base 2, of 'x'. The calculation is performed in integer arithmetic, therefore, it is exact. |