subtract method
Implementation
IntervalDomain subtract(IntervalDomain other) {
if (isBottom || other.isBottom) return bottomValue;
return IntervalDomain(
_subtractNullable(min, other.max),
_subtractNullable(max, other.min),
);
}
IntervalDomain subtract(IntervalDomain other) {
if (isBottom || other.isBottom) return bottomValue;
return IntervalDomain(
_subtractNullable(min, other.max),
_subtractNullable(max, other.min),
);
}