in reply to Re: Re: Power of two round up.in thread Power of two round up.
#or perhaps $w=32; $v |= $v>>($w>>=1) while $w; [download]