Skip to content

Next bigger ^2

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!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.