P32

ninetynine.P32
object P32

P32 - determine the greatest common divisor of two positive integer numbers.

Attributes

Note

This implements the Euclidean algorithm.

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
P32.type

Members list

Value members

Concrete methods

def gcd(a: Int, b: Int): Int

Attributes

Returns

the greatest common divisor.

Concrete fields

val logger: Logger