Skip to Main content Skip to Navigation
Conference papers

Accurate Evaluation of Arithmetic Expressions (Invited Talk)

Matthieu Martel 1, 2
1 DALI - Digits, Architectures et Logiciels Informatiques
LIRMM - Laboratoire d'Informatique de Robotique et de Microélectronique de Montpellier, UPVD - Université de Perpignan Via Domitia
Abstract : In this article, we focus on the synthesis of arithmetic expressions that can be evaluated e ciently on computers in the sense that they do not create over ows, are accurate and do not use unnecessary ressources. We consider several computer arithmetics for integers, oating-point and xed-point numbers and intervals and we show how to synthetize new expressions, mathematically equivalent to the original ones and more e cient. Our approach is based on abstract interpretation. We introduce two abstractions to represent in polynomial size sets of mathematically equivalent expressions. Then, we extract optimized expressions by searching the most accurate expression among the expressions contained in the abstract structures. We focus on the correctness of the synthesis which consists of showing that the new expressions cannot be distinguished from the source expressions when an observational abstraction is used.
Complete list of metadatas

Cited literature [14 references]  Display  Hide  Download

https://hal.archives-ouvertes.fr/hal-00812995
Contributor : Matthieu Martel <>
Submitted on : Saturday, May 11, 2013 - 11:20:31 AM
Last modification on : Thursday, May 24, 2018 - 3:59:23 PM
Document(s) archivé(s) le : Monday, April 3, 2017 - 4:55:29 AM

File

NSAD12_martel.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-00812995, version 1

Collections

Citation

Matthieu Martel. Accurate Evaluation of Arithmetic Expressions (Invited Talk). NSAD: Numerical and Symbolic Abstract Domains, Sep 2012, Deauville, France. pp.3-16. ⟨hal-00812995⟩

Share

Metrics

Record views

216

Files downloads

333