From c4087c70f71c73dcc8b7d76a34ccffbdc3abed28 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Mon, 22 Jul 2019 05:03:55 +0900 Subject: [PATCH] remove unused code --- include/mcl/vint.hpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/mcl/vint.hpp b/include/mcl/vint.hpp index bf324f4..40f43b2 100644 --- a/include/mcl/vint.hpp +++ b/include/mcl/vint.hpp @@ -552,15 +552,6 @@ size_t getRealSize(const T *x, size_t xn) return 1; } -template -size_t getBitSize(const T *x, size_t n) -{ - if (n == 1 && x[0] == 0) return 1; - T v = x[n - 1]; - assert(v); - return (n - 1) * sizeof(T) * 8 + 1 + cybozu::bsr(v); -} - /* q[qn] = x[xn] / y[yn] ; qn == xn - yn + 1 if xn >= yn if q r[rn] = x[xn] % y[yn] ; rn = yn before getRealSize