Skip to main content
QUICK REVIEW

[Paper Review] Floating point numbers are real numbers

Walter F. Mascarenhas|arXiv (Cornell University)|May 30, 2016
Numerical Methods and AlgorithmsComputer Science9 references5 citations
TL;DR

This paper proposes treating floating-point numbers as real numbers to apply continuous mathematics for deriving sharper, simpler bounds on rounding errors in floating-point arithmetic. By reinterpreting standard error models, it replaces Higham's γₖ with the linearized ku and proves a tighter error bound for summation: |fl(∑xₖ) - ∑xₖ| ≤ nu∑|xₖ|, which is simpler and more accurate than prior results, especially under subnormal number support.

ABSTRACT

Floating point arithmetic allows us to use a finite machine, the digital computer, to reach conclusions about models based on continuous mathematics. In this article we work in the other direction, that is, we present examples in which continuous mathematics leads to sharp, simple and new results about the evaluation of sums, square roots and dot products in floating point arithmetic.

Motivation & Objective

  • To simplify and extend existing error bounds in floating-point arithmetic using continuous mathematics.
  • To show that floating-point numbers can be treated as real numbers to derive sharper, more intuitive error bounds.
  • To replace Higham’s γₖ = ku/(1−ku) with the linearized ku in error analysis, simplifying proofs and results.
  • To derive a new, tighter bound for summation errors: |fl(∑xₖ) - ∑xₖ| ≤ nu∑|xₖ|, valid under subnormal number support.
  • To extend these results to dot products and show that the O(u²) and 1.06 factors in Wilkinson’s bounds can be eliminated.

Proposed method

  • Treat floating-point numbers as a subset of real numbers to leverage tools from continuous mathematics.
  • Use the (1+ε) argument as a foundation but refine it by modeling rounding errors via real-valued error propagation.
  • Introduce a new error bound for summation: |fl(∑xₖ) - ∑xₖ| ≤ nu∑|xₖ|, derived from a concave function of nu.
  • Apply linear programming duality to verify worst-case error scenarios in specific examples.
  • Correct bounds for underflow and non-subnormal arithmetic by adjusting the error model accordingly.
  • Reformulate existing bounds (e.g., Higham, Wilkinson) by removing higher-order terms and conservative factors.

Experimental results

Research questions

  • RQ1Can continuous mathematics be used to derive sharper, simpler bounds for floating-point summation errors?
  • RQ2Is it possible to replace Higham’s γₖ = ku/(1−ku) with the linearized ku = ku without losing rigor?
  • RQ3What is the tightest possible bound for the relative error in the floating-point evaluation of a sum of n+1 numbers?
  • RQ4Can the 1.06 factor in Wilkinson’s error bounds be eliminated through a refined error model?
  • RQ5How do underflow and absence of subnormal numbers affect the tightness of floating-point error bounds?

Key findings

  • A new, tighter bound for summation error is proven: |fl(∑xₖ) - ∑xₖ| ≤ nu∑|xₖ|, which is strictly concave in nu and simpler than Higham’s γₖ-based bound.
  • The bound |fl(∑xₖ) - ∑xₖ| ≤ nu∑|xₖ| holds for arithmetics with subnormal numbers when 20nu ≤ 1 and rounding to nearest with unit roundoff u.
  • For non-negative xₖ, a tighter bound is derived: |fl(∑xₖ) - ∑xₖ| ≤ u∑ₖ₌₁ⁿ∑ᵢ₌₀ᵏxᵢ, which avoids higher-order terms in u.
  • A new bound for dot products is established: |fl(∑xₖyₖ) - ∑xₖyₖ| ≤ (n+1)u∑|xₖyₖ|, valid when ∑|xₖyₖ| is not too small.
  • The bound (n+1)u∑|xₖyₖ| is shown to be equivalent to Higham’s leading-order term nu|𝐱|ᵀ|𝐲|, but without the O(u²) remainder.
  • The paper proves that the 1.06 factor in Wilkinson’s bounds and the O(u²) term in Higham’s analysis can be rigorously eliminated using the proposed continuous-math framework.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.