Skip to content

_uncheckedAdd ​

Function · src/common/utils/math/UncheckedMath.sol

solidity
function _uncheckedAdd(uint256 a, uint256 b) pure returns (uint256)

Adds two unsigned integers without checking the result for overflow errors (using safe math).

security-contact: sirt@aragon.org

ParameterTypeDescription
auint256The first summand.
buint256The second summand.