Closed enricobottazzi closed 7 months ago
You're right. I meant to use log2_ceil()
util instead.
As you mentioned, the fix relates to the possible discrepancy between bit_length
and log2_ceil
.
If this makes sense to you, I can go ahead and fix it.
Ok I checked and I think using log2_ceil
from util
would be correct. Please make the fix
Could you explain this PR?
num_limbs_log2_ceil
is not a function I believe.bit_length
can be 1 greater thanlog2_ceil
, if that is the fix?