bool seq(const interval<T>&, const interval<T>&); bool sne(const interval<T>&, const interval<T>&); bool sle(const interval<T>&, const interval<T>&); bool sge(const interval<T>&, const interval<T>&); bool slt(const interval<T>&, const interval<T>&); bool sgt(const interval<T>&, const interval<T>&);
Set comparison operators treat the given interval numbers as sets and provide exact comparisons, empty intervals of are explicitly considered valid. That is for and :
A special case is for inequality which is the same as above but using a disjunction instead of a conjunction, that is: