MCPcopy Create free account
hub / github.com/PolyhedraZK/ExpanderCompilerCollection / randInt

Function randInt

ecgo/test/eval.go:79–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77}
78
79func randInt() *big.Int {
80 buf := make([]byte, 64) // just 2 times longer
81 rand.Read(buf)
82 return new(big.Int).SetBytes(buf)
83}
84
85func sampleCoef(coef *big.Int, coefType uint8, publicInputId uint64, publicInput []*big.Int) *big.Int {
86 if coefType == 1 {

Callers 1

sampleCoefFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected