Closest power of 2 to n.
the first smaller or equal power of two, if n is not power of two.
Math387 Methods