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

Function ISqrt

mathutil/mathutil.go:109–126  ·  view source on GitHub ↗

ISqrt returns floor(sqrt(n)). Typical run time is few hundreds of ns.

(n uint32)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestISqrtFunction · 0.85
BenchmarkISqrtFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestISqrtFunction · 0.68
BenchmarkISqrtFunction · 0.68