zpowu.3 - libzahl - big integer library
HTML git clone git://git.suckless.org/libzahl
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
zpowu.3 (592B)
---
1 .TH ZPOWU 3 libzahl
2 .SH NAME
3 zpowu - Calculate a power of a big integer
4 .SH SYNOPSIS
5 .nf
6 #include <zahl.h>
7
8 void zpowu(z_t \fIpower\fP, z_t \fIbase\fP, unsigned long long int \fIexponent\fP);
9 .fi
10 .SH DESCRIPTION
11 .B zpowu
12 calculates the
13 .IR exponent :th
14 power of a
15 .IR base ,
16 and stores the result in
17 .IR power .
18 That is,
19 .I power
20 gets
21 .I base
22 ↑
23 .IR exponent .
24 .P
25 It is safe to call
26 .B zpowu
27 with non-unique parameters.
28 .SH SEE ALSO
29 .BR zpowu (3),
30 .BR zmodpowu (3),
31 .BR zsqr (3),
32 .BR zstr (3),
33 .BR zadd (3),
34 .BR zsub (3),
35 .BR zmul (3),
36 .BR zdiv (3),
37 .BR zmod (3),
38 .BR zneg (3),
39 .BR zabs (3)