From a1a1d9ed137c8e404e7f0bd41804099ef18b9267 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 29 Feb 2016 15:34:38 +0100 Subject: Add a number of man pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- man/zsignum.3 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 man/zsignum.3 (limited to 'man/zsignum.3') diff --git a/man/zsignum.3 b/man/zsignum.3 new file mode 100644 index 0000000..c50fdd3 --- /dev/null +++ b/man/zsignum.3 @@ -0,0 +1,29 @@ +.TH ZSIGNUM 3 libzahl +.SH NAME +zsignum - Get the sign of a big integer +.SH SYNOPSIS +.nf +#include + +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) -- cgit v1.2.3-70-g09d2