From e8b0d199a673336678ee14b95bd250543a8673c0 Mon Sep 17 00:00:00 2001 From: Alberto Bertogli Date: Wed, 5 Oct 2005 07:36:36 +0000 Subject: [PATCH] Hacer que pot_ko() use karatsuba(). --- src/number.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/number.h b/src/number.h index 6980c1f..e9b821f 100644 --- a/src/number.h +++ b/src/number.h @@ -754,7 +754,7 @@ number < N, E > pot_ko(number< N, E > &u, number< N, E > &v) res.sign = u.sign; for (i = 1; i < v; i += 1) { - res *= u; + res = karatsuba(res, u); } return res; -- 2.43.0