[
  {
    "id": "0099-arithmetic-negation:decision_001:decision_001",
    "expression": "-10",
    "expected": -10.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": "0099-arithmetic-negation:decision_002:decision_002",
    "expression": "--10",
    "expected": 10.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": "0099-arithmetic-negation:decision_003:decision_003",
    "expression": "-@\"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": "0099-arithmetic-negation:decision_003_a:decision_003_a",
    "expression": "-@\"-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": "0099-arithmetic-negation:decision_004:decision_004",
    "expression": "-@\"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": "0099-arithmetic-negation:decision_004_a:decision_004_a",
    "expression": "-@\"-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": "0099-arithmetic-negation:decision_005:decision_005",
    "expression": "-@\"2021-01-01\"",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0099-arithmetic-negation:decision_006:decision_006",
    "expression": "-@\"2021-01-01T10:10:10\"",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0099-arithmetic-negation:decision_007:decision_007",
    "expression": "-@\"10:10:10\"",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0099-arithmetic-negation:decision_008:decision_008",
    "expression": "-{a: 1}",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0099-arithmetic-negation:decision_009:decision_009",
    "expression": "-\"10\"",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0099-arithmetic-negation:decision_010:decision_010",
    "expression": "-[10]",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  },
  {
    "id": "0099-arithmetic-negation:decision_011:decision_011",
    "expression": "-[1..5]",
    "expected": null,
    "expected_type": "null",
    "comparison": "exact",
    "deviation": null
  }
]
