[−][src]Function bonsai::log_base_two
pub const fn log_base_two(n: u64) -> u64
Return the log of n
using the De Bruijn method.
https://graphics.stanford.edu/~seander/bithacks.html#IntegerLogDeBruijn
pub const fn log_base_two(n: u64) -> u64
Return the log of n
using the De Bruijn method.
https://graphics.stanford.edu/~seander/bithacks.html#IntegerLogDeBruijn