blob: c50fdd3900b7ca7c2113f6717d3be97737a0db9e (
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
|
.TH ZSIGNUM 3 libzahl
.SH NAME
zsignum - Get the sign of a big integer
.SH SYNOPSIS
.nf
#include <zahl.h>
int zsignum(z_t \fIa\fP);
.fi
.SH DESCRIPTION
.B zsignum
returns signum of
.I
a ;
the sign.
.SH RETURN VALUE
.B zsignum
returns -1 if
.I a
is negative, 0 if
.I a
is zero, and +1 if
.I a
is positive.
.SH SEE ALSO
.BR zzero (3),
.BR zeven (3),
.BR zodd (3),
.BR zcmp (3)
|