[−][src]Function bonsai::next_power_of_two
pub const fn next_power_of_two(n: u64) -> u64
Return the next power of two for n
using bit twiddling.
https://graphics.stanford.edu/~seander/bithacks.html#RoundUpPowerOf2
pub const fn next_power_of_two(n: u64) -> u64
Return the next power of two for n
using bit twiddling.
https://graphics.stanford.edu/~seander/bithacks.html#RoundUpPowerOf2