Intra-procedural optimization of the numerical accuracy of programs

Nasrine Damouche, Matthieu Martel, Alexandre Chapoutot

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Numerical programs performing floating-point computations are very sensitive to the way formulas are written. These last years, several techniques have been proposed concerning the transformation of arithmetic expressions in order to improve their accuracy and, in this article, we go one step further by automatically transforming larger pieces of code containing assignments and control structures. We define a set of transformation rules allowing the generation, under certain conditions and in polynomial time, of larger expressions by performing limited formal computations, possibly among several iterations of a loop. These larger expressions are better suited to improve the numerical accuracy of the target variable. We use abstract interpretation-based static analysis techniques to over-approximate the roundoff errors in programs and during the transformation of expressions. A prototype has been implemented and experimental results are presented concerning classical numerical algorithm analysis and algorithm for embedded systems.

Original languageEnglish
Title of host publicationFormal Methods for Industrial Critical Systems - 20th International Workshop, FMICS 2015, Proceedings
EditorsMatthias Güdemann, Manuel Núñez
PublisherSpringer Verlag
Pages31-46
Number of pages16
ISBN (Electronic)9783319194578
DOIs
Publication statusPublished - 1 Jan 2015
Event20th International Workshop on Formal Methods for Industrial Critical Systems, FMICS 2015 - Oslo, Norway
Duration: 22 Jun 201523 Jun 2015

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume9128
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference20th International Workshop on Formal Methods for Industrial Critical Systems, FMICS 2015
Country/TerritoryNorway
CityOslo
Period22/06/1523/06/15

Keywords

  • Floating-point numbers
  • IEEE754 standard
  • Program transformation
  • Static analysis

Fingerprint

Dive into the research topics of 'Intra-procedural optimization of the numerical accuracy of programs'. Together they form a unique fingerprint.

Cite this