aboutsummaryrefslogtreecommitdiffstats
path: root/man/zcmpmag.3
blob: 4581766b0e3da52f57a7937564b39f19ac41cf26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.TH ZCMPMAG 3 libzahl
.SH NAME
zcmpmag - Compare the absolute values of two big integer
.SH SYNOPSIS
.nf
#include <zahl.h>

int zcmpmag(z_t \fIa\fP, z_t \fIb\fP);
.fi
.SH DESCRIPTION
.B zcmpmag
compares the absolute value of
.I a
and the absolute value of
.IR b .
.SH RETURN VALUE
.B zcmpmag
returns -1 if
.RI | a |
is less than
.RI | b |,
0 if
.RI | a |
is equal to
.RI | b |,
and +1 qif
.RI | a |
is greater than
.RI | b |.
.SH SEE ALSO
.BR zcmp (3),
.BR zcmpi (3),
.BR zcmpu (3)