floorPowerOfTwo

Returns the largest power of two less than or equal to value (which must be greater than 0).

Return

The largest power of two that is less than or equal to the given number.