libzahl

big integer library
git clone git://git.suckless.org/libzahl
Log | Files | Refs | README | LICENSE

zabs.3 (479B)


      1 .TH ZABS 3 libzahl
      2 .SH NAME
      3 zabs - Calculate the absolute value of a big integer
      4 .SH SYNOPSIS
      5 .nf
      6 #include <zahl.h>
      7 
      8 void zabs(z_t \fIa\fP, z_t \fIb\fP);
      9 .fi
     10 .SH DESCRIPTION
     11 .B zabs
     12 calculates the absolute value of
     13 .I b
     14 and stores the result in
     15 .IR a .
     16 That is,
     17 .I a
     18 gets
     19 .RI | b |.
     20 .P
     21 It is safe to call
     22 .B zabs
     23 with non-unique parameters.
     24 .SH SEE ALSO
     25 .BR zset (3),
     26 .BR zstr (3),
     27 .BR zadd (3),
     28 .BR zsub (3),
     29 .BR zmul (3),
     30 .BR zdiv (3),
     31 .BR zmod (3),
     32 .BR zneg (3),
     33 .BR zpow (3)