Closed AnErrupTion closed 1 year ago
I've pushed some more changes including a fix for modulo on doubles specifically, and a temporary fix which adds an infinite loop if an exception wasn't thrown.
Could you please make a small PR to the Cosmos repo to add a test to ensure that modulo now works correctly?
Will do soon!
This PR makes the Clt, Clt_Un, Cgt, Cgt_Un and Ceq opcodes use SetByteOnCondition(), which replaces the manual branching that had to be done originally. It also introduces minor refactoring, like removing unused parentheses and converting fields to auto-properties.