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:09 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 anyone correct that I don't need to use any extra library to operate calculations, so I can use standard arithmetic operators without worry of overflow explosion? (Y/N)
Jul 5, 2023, 4:18 PM
Make sure to get the solidity version right, else there'd be screw ups
Jul 5, 2023, 4:23 PM

© 2024 Draquery.com All rights reserved.