# MathUtils

A library to be used in conjunction with SafeMath. Contains functions for calculating differences between two uint256.

Compares a and b and returns true if the difference between a and b is less than 1 or equal to each other.

`a`

: uint256 to compare with`b`

: uint256 to compare with

- True if the difference between a and b is less than 1 or equal,otherwise return false

Calculates absolute difference between a and b

`a`

: uint256 to compare with`b`

: uint256 to compare with

- Difference between a and b

Last modified 2yr ago