blog32

Function blog32 

Source
pub const fn blog32(n: u32) -> i32
Expand description

Computes the binary log of n. n: an unsigned 32-bit integer in Q0 (no fraction). Returns a signed 32-bit log in Q24.