libzahl

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

zmul.3 (597B)


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