Home
last modified time | relevance | path

Searched refs:MakeBigInt (Results 1 – 5 of 5) sorted by relevance

/external/starlark-go/starlark/
Dint.go48 func MakeBigInt(x *big.Int) Int { func
230 return MakeBigInt(new(big.Int).Add(x.bigInt(), y.bigInt()))
238 return MakeBigInt(new(big.Int).Sub(x.bigInt(), y.bigInt()))
246 return MakeBigInt(new(big.Int).Mul(x.bigInt(), y.bigInt()))
254 return MakeBigInt(new(big.Int).Or(x.bigInt(), y.bigInt()))
262 return MakeBigInt(new(big.Int).And(x.bigInt(), y.bigInt()))
270 return MakeBigInt(new(big.Int).Xor(x.bigInt(), y.bigInt()))
277 return MakeBigInt(new(big.Int).Not(xBig))
281 func (x Int) Lsh(y uint) Int { return MakeBigInt(new(big.Int).Lsh(x.bigInt(), y)) }
282 func (x Int) Rsh(y uint) Int { return MakeBigInt(new(big.Int).Rsh(x.bigInt(), y)) }
[all …]
Dint_test.go80 value := MakeBigInt(mutint)
92 value := MakeBigInt(big.NewInt(expect))
Deval.go478 v = MakeBigInt(c)
Dlibrary.go623 res := MakeBigInt(i)
/external/starlark-go/starlarkjson/
Djson.go451 return starlark.MakeBigInt(x)