
igcd - greatest common divisor of integers

Calling sequence:
igcd(integer, integer ...)

Parameter:

integer   --  integer

Summary:

igcd returns the greatest common positive divisor of a sequence of integers.
igcd returns 0 when all arguments are 0.

igcd returns an error when one of the arguments is a number but not an
integer.  igcd returns the call with evaluated arguments when one of the
arguments is not a number. igcd is a kernel function.

>>  igcd(-10, 6);

     2

>>  a:=4420,128,8984,488: igcd(a);

     4

See also:  gcd, igcdex , ilcm

