aboutsummaryrefslogtreecommitdiffstats
path: root/man/zgcd.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-03-01 10:55:20 +0100
committerMattias Andrée <maandree@kth.se>2016-03-01 10:55:20 +0100
commit32b87c5979a0e70994e4db65415ec0a2349c5618 (patch)
treea366f6c46762f349ce8b96439a35ac944021055b /man/zgcd.3
parentAdd a number of man pages (diff)
downloadlibzahl-32b87c5979a0e70994e4db65415ec0a2349c5618.tar.gz
libzahl-32b87c5979a0e70994e4db65415ec0a2349c5618.tar.bz2
libzahl-32b87c5979a0e70994e4db65415ec0a2349c5618.tar.xz
Add more man pages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man/zgcd.3')
-rw-r--r--man/zgcd.320
1 files changed, 20 insertions, 0 deletions
diff --git a/man/zgcd.3 b/man/zgcd.3
new file mode 100644
index 0000000..1a04126
--- /dev/null
+++ b/man/zgcd.3
@@ -0,0 +1,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)