floor log2 by quillaja

package main

import (
func main() {
 var x uint64
 for _, e := fmt.Scanln(&x); e == nil; _, e = fmt.Scanln(&x) {
  fmt.Println(bits.Len64(x) - 1)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)


return to the top page