Function fancy_garbling::util::is_power_of_2  
source · [−]Expand description
Raise a u16 to a power mod some value.
Returns true if x is a power of 2.
Raise a u16 to a power mod some value.
Returns true if x is a power of 2.