aboutsummaryrefslogtreecommitdiffstats
path: root/src/zpowu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/zpowu.c')
-rw-r--r--src/zpowu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zpowu.c b/src/zpowu.c
index 447147d..35247c3 100644
--- a/src/zpowu.c
+++ b/src/zpowu.c
@@ -24,11 +24,11 @@ zpowu(z_t a, z_t b, unsigned long long int c)
zsetu(a, 1);
if (c & 1)
- zmul_impl(a, a, tb);
+ zmul_ll(a, a, tb);
while (c >>= 1) {
- zsqr_impl(tb, tb);
+ zsqr_ll(tb, tb);
if (c & 1)
- zmul_impl(a, a, tb);
+ zmul_ll(a, a, tb);
}
if (neg)