aboutsummaryrefslogtreecommitdiffstats
path: root/man/zcmpi.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-02-29 15:34:38 +0100
committerMattias Andrée <maandree@kth.se>2016-02-29 15:34:38 +0100
commita1a1d9ed137c8e404e7f0bd41804099ef18b9267 (patch)
tree171def711738fa9989a9b040bb264e2cecbda867 /man/zcmpi.3
parentreadme: libzahl is not thread-safe at the moment (diff)
downloadlibzahl-a1a1d9ed137c8e404e7f0bd41804099ef18b9267.tar.gz
libzahl-a1a1d9ed137c8e404e7f0bd41804099ef18b9267.tar.bz2
libzahl-a1a1d9ed137c8e404e7f0bd41804099ef18b9267.tar.xz
Add a number of man pages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man/zcmpi.3')
-rw-r--r--man/zcmpi.333
1 files changed, 33 insertions, 0 deletions
diff --git a/man/zcmpi.3 b/man/zcmpi.3
new file mode 100644
index 0000000..eb786f8
--- /dev/null
+++ b/man/zcmpi.3
@@ -0,0 +1,33 @@
+.TH ZCMPI 3 libzahl
+.SH NAME
+zcmpi - Compare a big integer and a signed integer
+.SH SYNOPSIS
+.nf
+#include <zahl.h>
+
+int zcmpi(z_t \fIa\fP, signed long long int \fIb\fP);
+.fi
+.SH DESCRIPTION
+.B zcmpi
+compares
+.I a
+and
+.IR b .
+.SH RETURN VALUE
+.B zcmpi
+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 zcmp (3),
+.BR zcmpu (3),
+.BR zcmpmag (3)