aboutsummaryrefslogtreecommitdiffstats
path: root/man/zlsh.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/zlsh.3')
-rw-r--r--man/zlsh.331
1 files changed, 31 insertions, 0 deletions
diff --git a/man/zlsh.3 b/man/zlsh.3
new file mode 100644
index 0000000..a1ff3e9
--- /dev/null
+++ b/man/zlsh.3
@@ -0,0 +1,31 @@
+.TH ZLSH 3 libzahl
+.SH NAME
+zlsh - Perform a left shift on a big integer
+.SH SYNOPSIS
+.nf
+#include <zahl.h>
+
+void zlsh(z_t \fIa\fP, z_t \fIb\fP, size_t \fIn\fP);
+.fi
+.SH DESCRIPTION
+.B zlsh
+shifts
+.I b
+.I n
+bits to the left and stores the result in
+.IR a .
+.P
+It is safe to call
+.B zlsh
+with
+.IR "(a==b)" .
+.SH SEE ALSO
+.BR zand (3),
+.BR zor (3),
+.BR zxor (3),
+.BR znot (3),
+.BR zrsh (3),
+.BR zsplit (3),
+.BR zbtest (3),
+.BR zlsb (3),
+.BR zbits (3)