diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-02-29 15:34:38 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-02-29 15:34:38 +0100 |
| commit | a1a1d9ed137c8e404e7f0bd41804099ef18b9267 (patch) | |
| tree | 171def711738fa9989a9b040bb264e2cecbda867 /man/zsignum.3 | |
| parent | readme: libzahl is not thread-safe at the moment (diff) | |
| download | libzahl-a1a1d9ed137c8e404e7f0bd41804099ef18b9267.tar.gz libzahl-a1a1d9ed137c8e404e7f0bd41804099ef18b9267.tar.bz2 libzahl-a1a1d9ed137c8e404e7f0bd41804099ef18b9267.tar.xz | |
Add a number of man pages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man/zsignum.3')
| -rw-r--r-- | man/zsignum.3 | 29 |
1 files changed, 29 insertions, 0 deletions
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 <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) |
