mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
commit
ab33eef4a2
@ -45,6 +45,9 @@ def AND(x, y):
|
|||||||
def OR(x, y):
|
def OR(x, y):
|
||||||
return x | y
|
return x | y
|
||||||
|
|
||||||
|
def NOT(x):
|
||||||
|
return ~(x)
|
||||||
|
|
||||||
def SHL(x, y):
|
def SHL(x, y):
|
||||||
return y << x
|
return y << x
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user