MCPcopy Create free account
hub / github.com/cockroachdb/apd / setBigWithPow

Function setBigWithPow

table.go:123–127  ·  view source on GitHub ↗
(res *BigInt, pow int64)

Source from the content-addressed store, hash-verified

121}
122
123func setBigWithPow(res *BigInt, pow int64) {
124 var tmp BigInt
125 tmp.SetInt64(pow)
126 res.Exp(bigTen, &tmp, nil)
127}
128
129// tableExp10 returns 10^x for x >= 0, looked up from a table when
130// possible. This returned value must not be mutated. tmp is used as an

Callers 2

initFunction · 0.85
tableExp10Function · 0.85

Calls 2

SetInt64Method · 0.95
ExpMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…