local $_ = (shift)-1; $_ |= $_>>1; $_ |= $_>>2; $_ |= $_>>4; $_ |= $_>>8; $_ |= $_>>16; return ++$_ [download]
In reply to Re: Power of two round up. by I0 in thread Power of two round up. by boo_radley