MCPcopy 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
51func BenchmarkBinaryAbs64(b *testing.B) {
52 for i := 0; i < b.N; i++ {
53 binary.Abs(64, -1024)
54 }
55}
56
57func BenchmarkStdLibAbs(b *testing.B) {
58 for i := 0; i < b.N; i++ {

Callers

nothing calls this directly

Calls 1

AbsFunction · 0.92

Tested by

no test coverage detected