libzahl

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

zlsh.3 (480B)


      1 .TH ZLSH 3 libzahl
      2 .SH NAME
      3 zlsh - Perform a left shift on a big integer
      4 .SH SYNOPSIS
      5 .nf
      6 #include <zahl.h>
      7 
      8 void zlsh(z_t \fIa\fP, z_t \fIb\fP, size_t \fIn\fP);
      9 .fi
     10 .SH DESCRIPTION
     11 .B zlsh
     12 shifts
     13 .I b
     14 .I n
     15 bits to the left and stores the result in
     16 .IR a .
     17 .P
     18 It is safe to call
     19 .B zlsh
     20 with
     21 .IR "(a==b)" .
     22 .SH SEE ALSO
     23 .BR zand (3),
     24 .BR zor (3),
     25 .BR zxor (3),
     26 .BR znot (3),
     27 .BR zrsh (3),
     28 .BR ztrunc (3),
     29 .BR zsplit (3),
     30 .BR zbtest (3),
     31 .BR zbset (3),
     32 .BR zlsb (3),
     33 .BR zbits (3)