what's the easiest way to round up to power of 2?

BlitzMax Forums/BlitzMax Programming/what's the easiest way to round up to power of 2?

TaskMaster, that won't give you a power of 2, it'll give you a perfect square. A power of 2 is a number of the form 2^x, not x^2.