Getting Started
Developer Resources
Indices and Tables
Find power of two nearest to x
>>> _nearest_pow_2(3) 2.0 >>> _nearest_pow_2(15) 16.0
x (float) – Number
int
Nearest power of 2 to x