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.
Document type :
Conference papers
Complete list of metadata

Cited literature [14 references]  Display  Hide  Download
Contributor : Matthieu Martel Connect in order to contact the contributor
Submitted on : Saturday, May 11, 2013 - 11:20:31 AM
Last modification on : Friday, October 22, 2021 - 3:07:35 PM
Long-term archiving on: : Monday, April 3, 2017 - 4:55:29 AM


Files produced by the author(s)


  • HAL Id : hal-00812995, version 1



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



Record views


Files downloads