zcmp.3 - libzahl - big integer library | |
git clone git://git.suckless.org/libzahl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
zcmp.3 (378B) | |
--- | |
1 .TH ZCMP 3 libzahl | |
2 .SH NAME | |
3 zcmp - Compare two big integer | |
4 .SH SYNOPSIS | |
5 .nf | |
6 #include <zahl.h> | |
7 | |
8 int zcmp(z_t \fIa\fP, z_t \fIb\fP); | |
9 .fi | |
10 .SH DESCRIPTION | |
11 .B zcmp | |
12 compares | |
13 .I a | |
14 and | |
15 .IR b . | |
16 .SH RETURN VALUE | |
17 .B zcmp | |
18 returns -1 if | |
19 .I a | |
20 is less than | |
21 .IR b , | |
22 0 if | |
23 .I a | |
24 is equal to | |
25 .IR b , | |
26 and +1 if | |
27 .I a | |
28 is greater than | |
29 .IR b . | |
30 .SH SEE ALSO | |
31 .BR zcmpi (3), | |
32 .BR zcmpu (3), | |
33 .BR zcmpmag (3) |