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:โarrow-up-right
x
uint256
The dividend
y
The divisor
Return Values:โarrow-up-right
z
The quotient, ceil(x / y)
Last updated 2 years ago