libzahl

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

zinit.3 (855B)


      1 .TH ZINIT 3 libzahl
      2 .SH NAME
      3 zinit - Prepare a bit integer for use.
      4 .SH SYNOPSIS
      5 .nf
      6 #include <zahl.h>
      7 
      8 void zinit(z_t \fIa\fP);
      9 .fi
     10 .SH DESCRIPTION
     11 .B zinit
     12 initializes the big integer
     13 .I a
     14 so that it can be used in other function calls.
     15 .P
     16 .B z_t
     17 is defined as
     18 .P
     19 .nf
     20 typedef struct zahl {
     21 	/* You should not care about what is
     22 	 * inside this struct. It could change
     23 	 * in the future. */
     24 } z_t[1];
     25 .fi
     26 .SH SEE ALSO
     27 .BR zfree (3),
     28 .BR zswap (3),
     29 .BR zsave (3),
     30 .BR zsignum (3),
     31 .BR zeven (3),
     32 .BR zset (3),
     33 .BR zcmp (3),
     34 .BR zgcd (3),
     35 .BR zptest (3),
     36 .BR zrand (3),
     37 .BR zbits (3),
     38 .BR zlsb (3),
     39 .BR zbtest (3),
     40 .BR zbset (3),
     41 .BR zand (3),
     42 .BR zor (3),
     43 .BR zxor (3),
     44 .BR znot (3),
     45 .BR zlsh (3),
     46 .BR zrsh (3),
     47 .BR ztrunc (3),
     48 .BR zsplit (3),
     49 .BR zadd (3),
     50 .BR zsub (3),
     51 .BR zmul (3),
     52 .BR zdiv (3),
     53 .BR zmod (3),
     54 .BR zneg (3),
     55 .BR zabs (3),
     56 .BR zpow (3)