FullMath works with Solidity 0.8

This commit is contained in:
7400
2023-10-26 12:00:42 -07:00
parent 499782828a
commit cd8d3e9da1
3 changed files with 104 additions and 4 deletions

10
test/TestFullMath.py Normal file
View File

@@ -0,0 +1,10 @@
Mask256 = 2**256-1
MinusOne = -1
MAXpos = Mask256 >> 1
MAXneg = -MAXpos-1
print("MAXpos:", hex(MAXpos))
print("MAXneg:", hex(MAXneg))
pass