aztec-nr - noir_aztec::protocol::utils::math

Function is_power_of_2

pub fn is_power_of_2(n: u16) -> bool