[
  {
    "id": "0050-feel-abs-function:001:decision001",
    "expression": "abs(1)",
    "expected": 1.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": "0050-feel-abs-function:002:decision002",
    "expression": "abs(-1)",
    "expected": 1.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": "0050-feel-abs-function:003:decision003",
    "expression": "abs(0)",
    "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": "0050-feel-abs-function:004:decision004",
    "expression": "abs()",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0050-feel-abs-function:005:decision005",
    "expression": "abs(1,1)",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0050-feel-abs-function:006:decision006",
    "expression": "abs(n:-1)",
    "expected": 1.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": "0050-feel-abs-function:007:decision007",
    "expression": "abs(number:-1)",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0050-feel-abs-function:008:decision008",
    "expression": "abs(null)",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0050-feel-abs-function:009:decision009",
    "expression": "abs(\"-1\")",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0050-feel-abs-function:010:decision010",
    "expression": "abs(true)",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0050-feel-abs-function:011:decision011",
    "expression": "abs(duration(\"-P1D\"))",
    "expected": "P1D",
    "expected_type": "duration",
    "comparison": "exact",
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
  },
  {
    "id": "0050-feel-abs-function:011_a:decision011_a",
    "expression": "abs(duration(\"P1D\"))",
    "expected": "P1D",
    "expected_type": "duration",
    "comparison": "exact",
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
  },
  {
    "id": "0050-feel-abs-function:012:decision012",
    "expression": "abs(duration(\"-P1Y\"))",
    "expected": "P1Y",
    "expected_type": "duration",
    "comparison": "exact",
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
  },
  {
    "id": "0050-feel-abs-function:012_a:decision012_a",
    "expression": "abs(duration(\"P1Y\"))",
    "expected": "P1Y",
    "expected_type": "duration",
    "comparison": "exact",
    "deviation": "Temporal result compared in feel-core's canonical ISO-8601 form (ADR-18). feel-core backs temporal values with jiff; at the wrappers they cross the boundary as ISO-8601 strings, so PostgreSQL can cast to date/timestamptz/interval (ADR-5's interval mapping) and WASM can return JS Date objects."
  },
  {
    "id": "0050-feel-abs-function:013:decision013",
    "expression": "abs(date(\"-2018-12-06\"))",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0050-feel-abs-function:014:decision014",
    "expression": "abs(time(\"00:00:00\"))",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0050-feel-abs-function:015:decision015",
    "expression": "abs(date and time(\"2018-12-06T00:00:00\"))",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  }
]
