solidity-stringutils
solidity-stringutils copied to clipboard
Avoid division by zero which triggers exception.
Compare values that are supposed to be zero directly to zero. Otherwise there is a division by zero in sign().