[
  {
    "id": "0008-LX-arithmetic:001:payment",
    "expression": "(loan.principal*loan.rate/12)/(1-(1+loan.rate/12)**-loan.termMonths)",
    "expected": 2778.69354943277,
    "expected_type": "number",
    "comparison": "f64_epsilon",
    "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.",
    "coerce_to": "number",
    "context": {
      "loan": {
        "principal": 600000.0,
        "rate": 0.0375,
        "termMonths": 360.0
      }
    },
    "epsilon": 1e-08
  },
  {
    "id": "0008-LX-arithmetic:002:payment",
    "expression": "(loan.principal*loan.rate/12)/(1-(1+loan.rate/12)**-loan.termMonths)",
    "expected": 562.707359373292,
    "expected_type": "number",
    "comparison": "f64_epsilon",
    "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.",
    "coerce_to": "number",
    "context": {
      "loan": {
        "principal": 30000.0,
        "rate": 0.0475,
        "termMonths": 60.0
      }
    },
    "epsilon": 1e-08
  },
  {
    "id": "0008-LX-arithmetic:003:payment",
    "expression": "(loan.principal*loan.rate/12)/(1-(1+loan.rate/12)**-loan.termMonths)",
    "expected": 2861.03377700389,
    "expected_type": "number",
    "comparison": "f64_epsilon",
    "deviation": "feel-core uses f64 arithmetic while the DMN/FEEL spec mandates decimal128, and the TCK rounds non-terminating results to a fixed number of decimal places; numeric results are therefore compared with an epsilon tolerance instead of exact equality to avoid false negatives from either source.",
    "coerce_to": "number",
    "context": {
      "loan": {
        "principal": 600000.0,
        "rate": 0.0399,
        "termMonths": 360.0
      }
    },
    "epsilon": 1e-08
  }
]
