[][src]Function fancy_garbling::util::is_power_of_2

pub fn is_power_of_2(x: u16) -> bool

Raise a u16 to a power mod some value. Returns true if x is a power of 2