On Sound Relative Error Bounds for Floating-Point Arithmetic

07/07/2017
by   Anastasiia Izycheva, et al.
0

State-of-the-art static analysis tools for verifying finite-precision code compute worst-case absolute error bounds on numerical errors. These are, however, often not a good estimate of accuracy as they do not take into account the magnitude of the computed values. Relative errors, which compute errors relative to the value's magnitude, are thus preferable. While today's tools do report relative error bounds, these are merely computed via absolute errors and thus not necessarily tight or more informative. Furthermore, whenever the computed value is close to zero on part of the domain, the tools do not report any relative error estimate at all. Surprisingly, the quality of relative error bounds computed by today's tools has not been systematically studied or reported to date. In this paper, we investigate how state-of-the-art static techniques for computing sound absolute error bounds can be used, extended and combined for the computation of relative errors. Our experiments on a standard benchmark set show that computing relative errors directly, as opposed to via absolute errors, is often beneficial and can provide error estimates up to six orders of magnitude tighter, i.e. more accurate. We also show that interval subdivision, another commonly used technique to reduce over-approximations, has less benefit when computing relative errors directly, but it can help to alleviate the effects of the inherent issue of relative error estimates close to zero.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/07/2017

A Verified Certificate Checker for Floating-Point Error Bounds

Being able to soundly estimate roundoff errors in floating-point computa...
research
03/15/2019

Distribution-Sensitive Bounds on Relative Approximations of Geometric Ranges

A family R of ranges and a set X of points together define a range space...
research
12/02/2019

A Probabilistic Approach to Floating Point Arithmetic

Finite-precision floating point arithmetic unavoidably introduces roundi...
research
08/27/2023

Accurate complex Jacobi rotations

This note shows how to compute, to high relative accuracy under mild ass...
research
01/31/2020

A study of defect-based error estimates for the Krylov approximation of φ-functions

Prior recent work, devoted to the study of polynomial Krylov techniques ...
research
12/01/2017

Robust Computation of 2D EIT Absolute Images with D-bar Methods

Absolute images have important applications in medical Electrical Impeda...
research
04/09/2020

FPDetect: Efficient Reasoning About Stencil Programs Using Selective Direct Evaluation

We present FPDetect, a low overhead approach for detecting logical error...

Please sign up or login with your details

Forgot password? Click here to reset