174 - OZ Math
OpenZeppelin Math: Standard math utilities missing in the Solidity language:
-
max(uint256 a, uint256 b)
: Returns the larger of two numbers -
min(uint256 a, uint256 b)
: Returns the smaller of two numbers -
average(uint256 a, uint256 b)
: Returns the average of two numbers. The result is rounded towards zero.
- Math Utilities Missing in Solidity
max(uint256 a, uint256 b)
min(uint256 a, uint256 b)
average(uint256 a, uint256 b)