Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 762 Bytes

ExactMath.md

File metadata and controls

21 lines (11 loc) · 762 Bytes

ExactMath

Package: math

Contract type: library

Source file: ExactMath.sol

Example usage: ExactMathExamples.sol

Tests source file: exact_math.sol

Perf (gas usage) source file: exact_math.sol

description

TODO link to new under/overflow docs when they are added to readthedocs.

The ExactMath library contains functions for performing exact arithmetic operations.

Inspiration for adding this library was taken from the SafeMath library in zeppelin-solidity: https://github.com/OpenZeppelin/zeppelin-solidity/blob/353285e5d96477b4abb86f7cde9187e84ed251ac/contracts/math/SafeMath.sol