Skip to main content

stdMath

Git Source

State Variables

INT256_MIN

int256 private constant INT256_MIN = -57896044618658097711785492504343953926634992332820282019728792003956564819968;

Functions

abs

function abs(int256 a) internal pure returns (uint256);

delta

function delta(uint256 a, uint256 b) internal pure returns (uint256);

delta

function delta(int256 a, int256 b) internal pure returns (uint256);

percentDelta

function percentDelta(uint256 a, uint256 b) internal pure returns (uint256);

percentDelta

function percentDelta(int256 a, int256 b) internal pure returns (uint256);