title: Determining Exponent of Power of Two Integer?
body: <p>Is there any way other than <code>log_2(x)</code> for determining which power an integer is ? Knowing of course that it is a power of two, (binary base <code>0001</code>, <code>0010</code>, <code>0100</code>, <code>1000</code>, etc...).<br>
  Mostly I don't want it to convert to a floating point number and I don't want it to simple use an array search.</p>