Skip to main content

highest_bit

Function highest_bit 

Source
pub fn highest_bit(x: u64) -> u64
Expand description

Mask with the highest set bit. Returns 0 if x == 0.