pub const fn is_power_of_2(x: usize) -> bool
Check if x is a power of 2.
Zero is by definition not a power of 2.