{
    "Function": "cmp",
    "File": "contracts/v3/alchemix/libraries/FixedPointMath.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function cmp(FixedDecimal memory self, FixedDecimal memory value) internal pure returns (int256) {\n    if (self.x < value.x) {\n      return -1;\n    }\n\n    if (self.x > value.x) {\n      return 1;\n    }\n\n    return 0;\n  }"
}