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