Function substrate_fixed::transcendental::log2[][src]

pub fn log2<S, D>(operand: S) -> Result<D, ()> where
    S: FixedSigned + PartialOrd<I9F23>,
    D: FixedSigned + PartialOrd<I9F23> + From<S>,
    D::Bits: Copy + ToFixed + AddAssign + BitOrAssign + ShlAssign

base 2 logarithm