pub unsafe extern "C" fn mp_int_is_pow2(z: mp_int) -> c_int
Expand description

Returns k >= 0 such that z is 2^k, if such a k exists. If no such k exists, the function returns -1.