code: func FloorToPowerOfTwo(n int) int {
  	if n <= 2 {
  		return n
  	}
  	n = fillBits(n)
  	n >>= 1
  	n++
  	return n
  }
docs: // FloorToPowerOfTwo returns the greatest power of two integer value less than
  // or equal to n.