MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / BigPow

Function BigPow

utils/big.go:105–108  ·  view source on GitHub ↗

BigPow returns a ** b as a big integer.

(a, b int64)

Source from the content-addressed store, hash-verified

103
104// BigPow returns a ** b as a big integer.
105func BigPow(a, b int64) *big.Int {
106 r := big.NewInt(a)
107 return r.Exp(r, big.NewInt(b), nil)
108}
109
110// BigMax returns the larger of x or y.
111func BigMax(x, y *big.Int) *big.Int {

Callers 4

big.goFile · 0.85
TestPaddedBigBytesFunction · 0.85
TestU256Function · 0.85
TestS256Function · 0.85

Calls

no outgoing calls

Tested by 3

TestPaddedBigBytesFunction · 0.68
TestU256Function · 0.68
TestS256Function · 0.68