Merge pull request #8728 from yoni206/patch-1

Change NOT to ~
This commit is contained in:
chriseth 2020-04-28 18:59:54 +02:00 committed by GitHub
commit ab33eef4a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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