How should we deal with functions like mod acting on intervals?
E.g.
mod(0.8..1.2, 1) should give (0..0.2) ∪ (0.8..1);
mod(0.8..2.2, 1) should give 0..1?
One solution is to define an interval union type; see e.g.
https://link.springer.com/article/10.1007/s10543-016-0632-y
Really the correct solution is probably to use contractors.
How should we deal with functions like
modacting on intervals?E.g.
mod(0.8..1.2, 1)should give(0..0.2) ∪ (0.8..1);mod(0.8..2.2, 1)should give0..1?One solution is to define an interval union type; see e.g.
https://link.springer.com/article/10.1007/s10543-016-0632-y
Really the correct solution is probably to use contractors.