aboutsummaryrefslogtreecommitdiffstats
path: root/man/zgcd.3
blob: 1a0412607a619a80b95de7c2395fe611183fea49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.TH ZGCD 3 libzahl
.SH NAME
zgcd - Calculates the greatest common divisor
.SH SYNOPSIS
.nf
#include <zahl.h>

void zgcd(z_t \fIgcd\fP, z_t \fIa\fP, z_t \fIb\fP);
.fi
.SH DESCRIPTION
.B zgcd
calculates the greatest common divisor
between
.I a
and
.I b
and stores the result in
.IR gcd .
.SH SEE ALSO
.BR zdiv (3)