MCPcopy Create free account
hub / github.com/andeya/algorithm / SqrtUint64

Function SqrtUint64

mathutil/mathutil.go:129–146  ·  view source on GitHub ↗

SqrtUint64 returns floor(sqrt(n)). Typical run time is about 0.5 µs.

(n uint64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestSqrtUint64Function · 0.85
BenchmarkSqrtUint64Function · 0.85

Calls

no outgoing calls

Tested by 2

TestSqrtUint64Function · 0.68
BenchmarkSqrtUint64Function · 0.68