Silas Davis
authored
Our SIGNEXTEND was broken on positive numbers because for these numbers
it `Add`ed the sign extension mask rather than `And`ing it.
I took the opportunity to tidy up the arithmetical opcodes and add some
test.
Signed-off-by:
Silas Davis <silas@monax.io>
Name | Last commit | Last update |
---|---|---|
.. | ||
byteslice.go | ||
integer.go | ||
integer_test.go | ||
word160.go | ||
word160_test.go | ||
word256.go | ||
word256_test.go |