From 32b87c5979a0e70994e4db65415ec0a2349c5618 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 1 Mar 2016 10:55:20 +0100 Subject: Add more man pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- man/zsplit.3 | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 man/zsplit.3 (limited to 'man/zsplit.3') diff --git a/man/zsplit.3 b/man/zsplit.3 new file mode 100644 index 0000000..c666e52 --- /dev/null +++ b/man/zsplit.3 @@ -0,0 +1,40 @@ +.TH ZSPLIT 3 libzahl +.SH NAME +zsplit - Split a big integer in two parts +.SH SYNOPSIS +.nf +#include + +void zsplit(z_t \fIhigh\fP, z_t \fIlow\fP, z_t \fIa\fP, size_t \fIn\fP); +.fi +.SH DESCRIPTION +.B zsplits +splits +.I a +into two parts. The lowest +.I n +bits are stored in +.IR low , +and the rest of the bits are +stored in +.IR high . +The result stored in +.I high +is shifted +.I n +bits to the right. +.P +It is safe to call +.B zsplit +with +.I "(high==a)" +and +.IR "(low==a)" . +.SH SEE ALSO +.BR zand (3), +.BR zor (3), +.BR zxor (3), +.BR znot (3), +.BR zlsh (3), +.BR zrsh (3), +.BR zbits (3) -- cgit v1.2.3-70-g09d2