Skip to main content

SignedFixedPointTest

SignedFixedPointTest#

Functions#

wrapFromSigned(int256 a) โ†’ uint256 (external)
wrapFromUnsigned(uint256 a) โ†’ int256 (external)
wrapFromUnscaledInt(int256 a) โ†’ int256 (external)
wrapIsEqual(int256 a, int256 b) โ†’ bool (external)
wrapMixedIsEqual(int256 a, int256 b) โ†’ bool (external)
wrapIsGreaterThan(int256 a, int256 b) โ†’ bool (external)
wrapIsGreaterThanOrEqual(int256 a, int256 b) โ†’ bool (external)
wrapMixedIsGreaterThan(int256 a, int256 b) โ†’ bool (external)
wrapMixedIsGreaterThanOrEqual(int256 a, int256 b) โ†’ bool (external)
wrapMixedIsGreaterThanOpposite(int256 a, int256 b) โ†’ bool (external)
wrapMixedIsGreaterThanOrEqualOpposite(int256 a, int256 b) โ†’ bool (external)
wrapIsLessThan(int256 a, int256 b) โ†’ bool (external)
wrapIsLessThanOrEqual(int256 a, int256 b) โ†’ bool (external)
wrapMixedIsLessThan(int256 a, int256 b) โ†’ bool (external)
wrapMixedIsLessThanOrEqual(int256 a, int256 b) โ†’ bool (external)
wrapMixedIsLessThanOpposite(int256 a, int256 b) โ†’ bool (external)
wrapMixedIsLessThanOrEqualOpposite(int256 a, int256 b) โ†’ bool (external)
wrapMin(int256 a, int256 b) โ†’ int256 (external)
wrapMax(int256 a, int256 b) โ†’ int256 (external)
wrapAdd(int256 a, int256 b) โ†’ int256 (external)
wrapMixedAdd(int256 a, int256 b) โ†’ int256 (external)
wrapSub(int256 a, int256 b) โ†’ int256 (external)
wrapMixedSub(int256 a, int256 b) โ†’ int256 (external)
wrapMixedSubOpposite(int256 a, int256 b) โ†’ int256 (external)
wrapMul(int256 a, int256 b) โ†’ int256 (external)
wrapMulAwayFromZero(int256 a, int256 b) โ†’ int256 (external)
wrapMixedMul(int256 a, int256 b) โ†’ int256 (external)
wrapMixedMulAwayFromZero(int256 a, int256 b) โ†’ int256 (external)
wrapDiv(int256 a, int256 b) โ†’ int256 (external)
wrapDivAwayFromZero(int256 a, int256 b) โ†’ int256 (external)
wrapMixedDiv(int256 a, int256 b) โ†’ int256 (external)
wrapMixedDivAwayFromZero(int256 a, int256 b) โ†’ int256 (external)
wrapMixedDivOpposite(int256 a, int256 b) โ†’ int256 (external)
wrapPow(int256 a, uint256 b) โ†’ int256 (external)