func math/bits.Len32
5 uses
math/bits (current package)
bits.go#L34: func LeadingZeros32(x uint32) int { return 32 - Len32(x) }
bits.go#L304: return Len32(uint32(x))
bits.go#L324: func Len32(x uint32) (n int) {
github.com/klauspost/compress/flate
huffman_code.go#L85: c := uint(bits.Len32(uint32(size - 1)))
strconv
ftoaryu.go#L34: if b := bits.Len32(mant); b < 25 {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |