aboutsummaryrefslogtreecommitdiffstats
path: root/man/zgcd.3
diff options
context:
space:
mode:
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)