function floorPowerOfTwo( value ) {

	return Math.pow( 2, Math.floor( Math.log( value ) / Math.LN2 ) );

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

@param {number} value - The value to find a POT for.
@return {number} The largest power of two that is less than or equal to the given number.