Last updated 8 months ago
Contains methods that perform common math functions but do not do any overflow or underflow checks
function divRoundingUp( uint256 x, uint256 y ) internal pure returns (uint256 z)
Returns ceil(x / y)
panics if y == 0
Parameters:
x
uint256
The dividend
y
The divisor
Return Values:
z
The quotient, ceil(x / y)