is there a method to filter SafeMath for calculations of int256
like using SafMath for int256; ?
which is not possible with openZepplin's SafeMath.sol whic only operates on `uint`s
Jul 5, 2023, 4:11 PM
there's this note in the page of SignedSafeMath at openZeppelin's website that says:
"SignedSafeMath is no longer needed starting with Solidity 0.8. The compiler now has built in overflow checking. "
could you correct that I don't need to use any extra library to operate calculations, I can use standard arithmetic operators without worry of overflow explosion?
"SignedSafeMath is no longer needed starting with Solidity 0.8. The compiler now has built in overflow checking. "
could you correct that I don't need to use any extra library to operate calculations, I can use standard arithmetic operators without worry of overflow explosion?
Jul 5, 2023, 4:17 PM