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

5.2.10 Normalization

interval<T> normalized() const; 
interval<T>& normalize();

These functions normalize the interval, that is ensure that for an interval A ∈IR  it is guaranteed that a≤ a- and that if any of the two is ∅  so is the other.

normalized()


Returns a copy of the current interval object but in a normalized state.

normalize()


Normalizes the current interval object and returns a reference to it.