mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adding bit-vector NOT operation to the opcodes.
This commit is contained in:
parent
55e34407d3
commit
4327434d07
@ -45,6 +45,9 @@ def AND(x, y):
|
||||
def OR(x, y):
|
||||
return x | y
|
||||
|
||||
def NOT(x):
|
||||
return ~(x)
|
||||
|
||||
def SHL(x, y):
|
||||
return y << x
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user