| 1 | [ |
| 2 | { |
| 3 | "id": "0073-feel-comments:decision_001:decision_001", |
| 4 | "expression": "1 + /* 1 + */ 1", |
| 5 | "expected": 2.0, |
| 6 | "expected_type": "number", |
| 7 | "comparison": "f64_epsilon", |
| 8 | "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.", |
| 9 | "epsilon": 1e-08 |
| 10 | }, |
| 11 | { |
| 12 | "id": "0073-feel-comments:decision_002:decision_002", |
| 13 | "expression": "1 + // eol comment\n 1", |
| 14 | "expected": 2.0, |
| 15 | "expected_type": "number", |
| 16 | "comparison": "f64_epsilon", |
| 17 | "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.", |
| 18 | "epsilon": 1e-08 |
| 19 | }, |
| 20 | { |
| 21 | "id": "0073-feel-comments:decision_003:decision_003", |
| 22 | "expression": "/*\n some intro waffle\n */\n 1 + 1 // and stuff", |
| 23 | "expected": 2.0, |
| 24 | "expected_type": "number", |
| 25 | "comparison": "f64_epsilon", |
| 26 | "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.", |
| 27 | "epsilon": 1e-08 |
| 28 | } |
| 29 | ] |