Interval Arithmetic and Outward Rounding

Compute enclosures that contain all exact results and see how dependent operands can widen an interval without any rounding failure.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. The output covers all allowed operand values
  2. Repeated appearances may refer to the same value

The output covers all allowed operand values

For summing intervals, add their lower endpoints and upper endpoints. For products, take the minimum and maximum of the four endpoint products. With \([-2,3]\) and \([4,5]\), the product lies in \([-10,15]\). A floating-point implementation must round lower bounds downward and upper bounds upward to retain this enclosure. A reciprocal requires checking whether the denominator interval contains zero.

Repeated appearances may refer to the same value

For \(x\in[1,3]\), directly evaluating \(x-x\) with two interval operands gives \([-2,2]\), though substituting any common \(x\) gives zero. The broad result is valid but forgets dependence. Rewriting, subdivision or a richer arithmetic representation can tighten it. Interval analysis has an analogous precision issue when tracking program variables. Root bracketing can use certified interval signs to preserve its invariant.[1]

References

  1. Nicholas J. Higham, Accuracy and Stability of Numerical Algorithms ↩