It is often times very useful to know the next bigger power of 2 from a given input.
To do this I wrote a simple little abstraction. It takes as input either an int, float, or list.
Happy patching!
Become a Patron!It is often times very useful to know the next bigger power of 2 from a given input.
To do this I wrote a simple little abstraction. It takes as input either an int, float, or list.
Happy patching!
Become a Patron!