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

Function BenchmarkSquareRootCalculation

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

Source from the content-addressed store, hash-verified

38}
39
40func BenchmarkSquareRootCalculation(b *testing.B) {
41 for i := 0; i < b.N; i++ {
42 Sqrt(225)
43 }
44}
45
46func BenchmarkMathSqrt(b *testing.B) {
47 for i := 0; i < b.N; i++ {

Callers

nothing calls this directly

Calls 1

SqrtFunction · 0.85

Tested by

no test coverage detected