COHERENT manpages

This page displays the COHERENT manpage for gcd() [Set variable to greatest common divisor].

List of available manpages
Index


gcd() -- Multiple-Precision Mathematics (libmp)

Set variable to greatest common divisor
#include <mprec.h>
void gcd(a, b, c)
mint *a, *b, *c;

gcd() sets c to the greatest common divisor of a and b.

See Also

libmp