zsignum.3 - libzahl - big integer library
(HTM) git clone git://git.suckless.org/libzahl
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
zsignum.3 (376B)
---
1 .TH ZSIGNUM 3 libzahl
2 .SH NAME
3 zsignum - Get the sign of a big integer
4 .SH SYNOPSIS
5 .nf
6 #include <zahl.h>
7
8 int zsignum(z_t \fIa\fP);
9 .fi
10 .SH DESCRIPTION
11 .B zsignum
12 returns signum of
13 .I
14 a ;
15 the sign.
16 .SH RETURN VALUE
17 .B zsignum
18 returns -1 if
19 .I a
20 is negative, 0 if
21 .I a
22 is zero, and +1 if
23 .I a
24 is positive.
25 .SH SEE ALSO
26 .BR zzero (3),
27 .BR zeven (3),
28 .BR zodd (3),
29 .BR zcmp (3)