aboutsummaryrefslogtreecommitdiffstats
path: root/man/zcmp.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/zcmp.3')
-rw-r--r--man/zcmp.333
1 files changed, 33 insertions, 0 deletions
diff --git a/man/zcmp.3 b/man/zcmp.3
new file mode 100644
index 0000000..45d64f1
--- /dev/null
+++ b/man/zcmp.3
@@ -0,0 +1,33 @@
+.TH ZCMP 3 libzahl
+.SH NAME
+zcmp - Compare two big integer
+.SH SYNOPSIS
+.nf
+#include <zahl.h>
+
+int zcmp(z_t \fIa\fP, z_t \fIb\fP);
+.fi
+.SH DESCRIPTION
+.B zcmp
+compares
+.I a
+and
+.IR b .
+.SH RETURN VALUE
+.B zcmp
+returns -1 if
+.I a
+is less than
+.IR b ,
+0 if
+.I a
+is equal to
+.IR b ,
+and +1 if
+.I a
+is greater than
+.IR b .
+.SH SEE ALSO
+.BR zcmpi (3),
+.BR zcmpu (3),
+.BR zcmpmag (3)