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/zcmpmag.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/zcmpmag.3')
| -rw-r--r-- | man/zcmpmag.3 | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/man/zcmpmag.3 b/man/zcmpmag.3 new file mode 100644 index 0000000..4581766 --- /dev/null +++ b/man/zcmpmag.3 @@ -0,0 +1,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) |
