MCPcopy Create free account
hub / github.com/andeya/algorithm / BitLen

Function BitLen

mathutil/bits.go:43–61  ·  view source on GitHub ↗

BitLen returns the bit width of the non zero part of n.

(n int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestBitLenFunction · 0.85
BenchmarkBitLenFunction · 0.85

Calls 1

BitLenUint64Function · 0.85

Tested by 2

TestBitLenFunction · 0.68
BenchmarkBitLenFunction · 0.68