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