pub fn log2(a: Const) Limb
Calculate the base 2 logarithm, rounded down.
a: Const
2745 2746 2747 2748 2749
pub fn log2(a: Const) Limb { assert(a.positive); assert(!a.eqlZero()); return a.bitCountAbs() - 1; }
Calculate the base 2 logarithm, rounded down.