zrsh.3 - libzahl - big integer library
(HTM) git clone git://git.suckless.org/libzahl
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
zrsh.3 (482B)
---
1 .TH ZRSH 3 libzahl
2 .SH NAME
3 zrsh - Perform a right shift on a big integer
4 .SH SYNOPSIS
5 .nf
6 #include <zahl.h>
7
8 void zrsh(z_t \fIa\fP, z_t \fIb\fP, size_t \fIn\fP);
9 .fi
10 .SH DESCRIPTION
11 .B zrsh
12 shifts
13 .I b
14 .I n
15 bits to the right and stores the result in
16 .IR a .
17 .P
18 It is safe to call
19 .B zrsh
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 zlsh (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)