in reply to Re: Re: Power of two round up.
in thread Power of two round up.
Sure, because it has to dispatch many fewer opcodes. But
if I had wanted to use the log2 x solution, I wouldn't have
asked in the first place. Floating-point arithmetic gives
me the heebie-jeebies.
In Section
Cool Uses for Perl