You should probably use https://golang.org/pkg/math/bits/ instead.

godoc: https://godoc.org/github.com/dgryski/go-bits
