English

Probabilistic Error Analysis For Sequential Summation of Real Floating Point Numbers

Numerical Analysis 2021-05-31 v2 Numerical Analysis

Abstract

We derive two probabilistic bounds for the relative forward error in the floating point summation of nn real numbers, by representing the roundoffs as independent, zero-mean, bounded random variables. The first probabilistic bound is based on Azuma's concentration inequality, and the second on the Azuma-Hoeffding Martingale. Our numerical experiments illustrate that the probabilistic bounds, with a stringent failure probability of 101610^{-16}, can be 1-2 orders of magnitude tighter than deterministic bounds. We performed the numerical experiments in Julia by summing up to n=107n=10^7 single precision (binary32) floating point numbers, and up to n=104n=10^4 half precision (binary16) floating point numbers. We simulated exact computation with double precision (binary64). The bounds tend to be tighter when all summands have the same sign.

Keywords

Cite

@article{arxiv.2101.11738,
  title  = {Probabilistic Error Analysis For Sequential Summation of Real Floating Point Numbers},
  author = {Johnathan Rhyne},
  journal= {arXiv preprint arXiv:2101.11738},
  year   = {2021}
}

Comments

Advised by Professor Ilse C.F. Ipsen

R2 v1 2026-06-23T22:36:23.153Z