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

Function SqrtBig

mathutil/mathutil.go:149–169  ·  view source on GitHub ↗

SqrtBig returns floor(sqrt(n)). It panics on n < 0.

(n *big.Int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestSqrtBigFunction · 0.85
benchmarkSqrtBigFunction · 0.85

Calls 4

CmpMethod · 0.80
AddMethod · 0.65
SetMethod · 0.65
DivMethod · 0.45

Tested by 2

TestSqrtBigFunction · 0.68
benchmarkSqrtBigFunction · 0.68