[
  {
    "id": "0056-feel-modulo-function:001:decision001",
    "expression": "modulo(10, 4)",
    "expected": 2.0,
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0056-feel-modulo-function:001_a:decision001_a",
    "expression": "modulo(10, -4)",
    "expected": -2.0,
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0056-feel-modulo-function:002:decision002",
    "expression": "modulo(-10, 4)",
    "expected": 2.0,
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0056-feel-modulo-function:003:decision003",
    "expression": "modulo(0, 4)",
    "expected": 0.0,
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0056-feel-modulo-function:003_a:decision003_a",
    "expression": "modulo(10, 0)",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0056-feel-modulo-function:004:decision004",
    "expression": "modulo()",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0056-feel-modulo-function:005:decision005",
    "expression": "modulo(4)",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0056-feel-modulo-function:005_a:decision005_a",
    "expression": "modulo(4,4,4)",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0056-feel-modulo-function:006:decision006",
    "expression": "modulo(dividend:10, divisor:4)",
    "expected": 2.0,
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0056-feel-modulo-function:007:decision007",
    "expression": "modulo(dividend:10, foo:4)",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0056-feel-modulo-function:008:decision008",
    "expression": "modulo(null, null)",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0056-feel-modulo-function:008_a:decision008_a",
    "expression": "modulo(10, null)",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0056-feel-modulo-function:008_b:decision008_b",
    "expression": "modulo(null, 4)",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0056-feel-modulo-function:009:decision009",
    "expression": "modulo(\"10\", \"4\")",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0056-feel-modulo-function:010:decision010",
    "expression": "modulo(true, true)",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0056-feel-modulo-function:011:decision011",
    "expression": "modulo(duration(\"P10D\"), 4)",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0056-feel-modulo-function:012:decision012",
    "expression": "modulo(duration(\"P10Y\"), 4)",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0056-feel-modulo-function:013:decision013",
    "expression": "modulo(date(\"2018-12-06\"), 4)",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0056-feel-modulo-function:014:decision014",
    "expression": "modulo(time(\"10:00:00\"), 4)",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0056-feel-modulo-function:015:decision015",
    "expression": "modulo(date and time(\"2018-12-06T00:00:00\"), 4)",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0056-feel-modulo-function:016a:decision016a",
    "expression": "modulo(12, 5)",
    "expected": 2.0,
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0056-feel-modulo-function:016b:decision016b",
    "expression": "modulo(-12, 5)",
    "expected": 3.0,
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0056-feel-modulo-function:016c:decision016c",
    "expression": "modulo(12, -5)",
    "expected": -3.0,
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0056-feel-modulo-function:016d:decision016d",
    "expression": "modulo(-12, -5)",
    "expected": -2.0,
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0056-feel-modulo-function:017a:decision017a",
    "expression": "modulo(10.1, 4.5)",
    "expected": 1.1,
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0056-feel-modulo-function:017b:decision017b",
    "expression": "modulo(-10.1, 4.5)",
    "expected": 3.4,
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0056-feel-modulo-function:017c:decision017c",
    "expression": "modulo(10.1, -4.5)",
    "expected": -3.4,
    "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.",
    "epsilon": 1e-08
  },
  {
    "id": "0056-feel-modulo-function:017d:decision017d",
    "expression": "modulo(-10.1, -4.5)",
    "expected": -1.1,
    "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.",
    "epsilon": 1e-08
  }
]
