MCPcopy Create free account
hub / github.com/DNAProject/DNA / Not

Method Not

vm/neovm/types/int_value.go:251–260  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

249}
250
251func (self IntValue) Not() (val IntValue) {
252 if self.isbig {
253 val.isbig = true
254 val.bigint = big.NewInt(0)
255 val.bigint.Not(self.bigint)
256 } else {
257 val.integer = ^self.integer
258 }
259 return
260}
261
262func (self IntValue) Abs() (val IntValue) {
263 if self.isbig {

Callers 2

ExecuteOpMethod · 0.80
TestCmpFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestCmpFunction · 0.64