greatest_common_divisor

mathtools.greatest_common_divisor(*integers)

Calculates greatest common divisor of integers.

>>> mathtools.greatest_common_divisor(84, -94, -144)
2

Allows nonpositive input.

Raises not implemented error when zero is included in input.

Returns positive integer.