MCPcopy Create free account
hub / github.com/TheAlgorithms/Go / BenchmarkMathPAckageLogBase2

Function BenchmarkMathPAckageLogBase2

math/binary/logarithm_test.go:44–48  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

42}
43
44func BenchmarkMathPAckageLogBase2(b *testing.B) {
45 for i := 0; i < b.N; i++ {
46 math.Log2(1024)
47 }
48}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected