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

Function BenchmarkIsPowerOfTwoUseLog

math/checkisnumberpoweroftwo_test.go:50–54  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

48}
49
50func BenchmarkIsPowerOfTwoUseLog(b *testing.B) {
51 for i := 0; i < b.N; i++ {
52 IsPowOfTwoUseLog(1024)
53 }
54}

Callers

nothing calls this directly

Calls 1

IsPowOfTwoUseLogFunction · 0.85

Tested by

no test coverage detected