UnsafeMath
Contains methods that perform common math functions but do not do any overflow or underflow checks
Functions
divRoundingUp
Returns ceil(x / y)
panics if y == 0
Parameters:
Name | Type | Description |
---|---|---|
| uint256 | The dividend |
| uint256 | The divisor |
Return Values:
Name | Type | Description |
---|---|---|
| uint256 | The quotient, ceil(x / y) |
Last updated