Version: V3

# LowGasSafeMath

Contains methods for doing math operations that revert on overflow or underflow for minimal gas cost

## Functions#

``  function add(    uint256 x,    uint256 y  ) internal pure returns (uint256 z)``

Returns x + y, reverts if sum overflows uint256

#### Parameters:#

NameTypeDescription
`x`uint256The augend
`y`uint256The addend

#### Return Values:#

NameTypeDescription
`z`uint256The sum of x and y

### sub#

``  function sub(    uint256 x,    uint256 y  ) internal pure returns (uint256 z)``

Returns x - y, reverts if underflows

#### Parameters:#

NameTypeDescription
`x`uint256The minuend
`y`uint256The subtrahend

#### Return Values:#

NameTypeDescription
`z`uint256The difference of x and y

### mul#

``  function mul(    uint256 x,    uint256 y  ) internal pure returns (uint256 z)``

Returns x * y, reverts if overflows

#### Parameters:#

NameTypeDescription
`x`uint256The multiplicand
`y`uint256The multiplier

#### Return Values:#

NameTypeDescription
`z`uint256The product of x and y

``  function add(    int256 x,    int256 y  ) internal pure returns (int256 z)``

Returns x + y, reverts if overflows or underflows

#### Parameters:#

NameTypeDescription
`x`int256The augend
`y`int256The addend

#### Return Values:#

NameTypeDescription
`z`int256The sum of x and y

### sub#

``  function sub(    int256 x,    int256 y  ) internal pure returns (int256 z)``

Returns x - y, reverts if overflows or underflows

#### Parameters:#

NameTypeDescription
`x`int256The minuend
`y`int256The subtrahend

#### Return Values:#

NameTypeDescription
`z`int256The difference of x and y