Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a parentheses in SMOD definition
This solves #190. The other way of putting parentheses did not make sense becasue `sign(x) * |x|` can immediately be optimized into `x`. Also, I checked one EVM implementation's behavior ``` evm --debug --code "60601960401907" ``` and saw SMOD returning a negative-looking number.
- Loading branch information