cogx.cogmath.algebra.real
Return true if "value" is an exact power of 2.
Take the logarithm of "value" base 2.