<div dir="ltr">On Fri, Mar 8, 2013 at 2:37 PM, David Thompson <span dir="ltr"><<a href="mailto:david.thompson@kitware.com" target="_blank">david.thompson@kitware.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi David,<br>
<div class="im"><br>
> Do you have ideas for what it should be called?  It isn't quite<br>
> log2(x), because, unlike most integer math operations, it rounds up<br>
> instead of truncating.<br>
<br>
</div>These are the alternatives I can think of, in order of descending personal preference:<br>
<br>+ CeilLog2<br>+ NextPowerOfTwo</blockquote><div><br></div><div style>These two are the clearest names to me. The others aren't exactly clear what the function does.</div><div style><br></div><div style>Dave</div>

</div></div></div>