Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Go
/ BenchmarkBinaryAbs32
Function
BenchmarkBinaryAbs32
math/abs_test.go:45–49 ·
view source on GitHub ↗
(b *testing.B)
Source
from the content-addressed store, hash-verified
43
}
44
}
45
func
BenchmarkBinaryAbs32(b *testing.B) {
46
for
i := 0; i < b.N; i++ {
47
binary.Abs(32, -1024)
48
}
49
}
50
51
func
BenchmarkBinaryAbs64(b *testing.B) {
52
for
i := 0; i < b.N; i++ {
Callers
nothing calls this directly
Calls
1
Abs
Function · 0.92
Tested by
no test coverage detected