MCPcopy Create free account
hub / github.com/chain/txvm / opAdd

Function opAdd

protocol/txvm/math.go:9–11  ·  view source on GitHub ↗
(vm *VM)

Source from the content-addressed store, hash-verified

7)
8
9func opAdd(vm *VM) {
10 binOp(vm, checked.AddInt64)
11}
12
13func opNeg(vm *VM) {
14 a := int64(vm.popInt())

Callers

nothing calls this directly

Calls 1

binOpFunction · 0.85

Tested by

no test coverage detected