libzahl

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

zsub.3 (564B)


      1 .TH ZSUB 3 libzahl
      2 .SH NAME
      3 zsub - Calculate the difference of two big integer
      4 .SH SYNOPSIS
      5 .nf
      6 #include <zahl.h>
      7 
      8 void zsub(z_t \fIdifference\fP, z_t \fIminuend\fP, z_t \fIsubtrahend\fP);
      9 .fi
     10 .SH DESCRIPTION
     11 .B zsub
     12 calculates the difference of a
     13 .I minuend
     14 and a
     15 .IR subtrahend ,
     16 and stores the result in
     17 .IR difference .
     18 That is,
     19 .I difference
     20 gets
     21 .I minuend
     22 -
     23 .IR subtrahend .
     24 .P
     25 It is safe to call
     26 .B zsub
     27 with non-unique parameters.
     28 .SH SEE ALSO
     29 .BR zstr (3),
     30 .BR zadd (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)