Details
-
Bug
-
Status: Resolved
-
Urgent
-
Resolution: Fixed
-
None
-
Correctness - API / Semantic Implementation
-
Critical
-
Challenging
Description
Currently Range.subtractContained returns incorrect results if minuend range covers full ring and:
- subtrahend range wraps around. For example, (50, 50] - (10, 100] returns {(50,10], (100,50]} instead of (100,10]
- subtrahend range covers the full ring as well. For example (50, 50] - (0, 0] returns {(0,50], (50,0]} instead of {}