3
IRUS TotalDownloads
Altmetric
A probabilistic approach to floating-point arithmetic
File | Description | Size | Format | |
---|---|---|---|---|
FredrikAsilomar19.pdf | Accepted version | 552.68 kB | Adobe PDF | View/Open |
Title: | A probabilistic approach to floating-point arithmetic |
Authors: | Dahlqvist, F Salvia, R Constantinides, G |
Item Type: | Conference Paper |
Abstract: | Finite-precision floating point arithmetic unavoidably introduces rounding errors which are traditionally bounded using a worst-case analysis. However, worst-case analysis might be overly conservative because worst-case errors can be extremely rare events in practice. Here we develop a probabilistic model of rounding errors with which it becomes possible to estimate the likelihood that the rounding error of an algorithm lies within a given interval. Given an input distribution, we show how to compute the distribution of rounding errors. We do this exactly for low precision arithmetic, for high precision arithmetic we derive a simple approximation. The model is then entirely compositional: given a numerical program written in a simple imperative programming language we can recursively compute the distribution of rounding errors at each step of the computation and propagate it through each program instruction. This is done by applying a formalism originally developed by Kozen to formalize the semantics of probabilistic programs. We then discuss an implementation of the model and use it to perform probabilistic range analyses on some benchmarks. |
Issue Date: | 30-Mar-2020 |
Date of Acceptance: | 4-Dec-2019 |
URI: | http://hdl.handle.net/10044/1/75451 |
DOI: | 10.1109/IEEECONF44664.2019.9048893 |
Publisher: | IEEE |
Start Page: | 596 |
End Page: | 602 |
Copyright Statement: | © 2020 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works. |
Sponsor/Funder: | Engineering & Physical Science Research Council (EPSRC) |
Funder's Grant Number: | EP/P010040/1 |
Conference Name: | IEEE Asilomar Conference on Signals, Systems and Computers (ACSSC 2019) |
Keywords: | Science & Technology Technology Computer Science, Information Systems Engineering, Electrical & Electronic Telecommunications Computer Science Engineering math.NA math.NA cs.NA cs.PL |
Publication Status: | Published |
Start Date: | 2019-11-03 |
Finish Date: | 2019-11-09 |
Conference Place: | Pacific Grove, CA, USA |
Online Publication Date: | 2020-03-30 |
Appears in Collections: | Electrical and Electronic Engineering Faculty of Engineering |