libzahl

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

zadd.3 (514B)


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