Stable Numerics Subroutine Library
Programming Reference Manual
Version 1.1 DD-00006-011

6.2.5 Comparison Operators

bool operator==(const kc_interval<T>& o) const; 
bool operator!=(const kc_interval<T>& o) const;

These operators check for equality or inequality to another kc_interval<T> instance. The equality and inequality for the circular intervals a,b∈ KC  are defined for an operator □ ∈{=,̸=} as:

a□b≡ ar□br∧ ap□bp