Skip to Main content Skip to Navigation
Conference papers

Automatic Source-to-Source Error Compensation of Floating-Point Programs

Laurent Thévenoux 1, 2, * Philippe Langlois 3 Matthieu Martel 4 
* Corresponding author
2 ARIC - Arithmetic and Computing
Inria Grenoble - Rhône-Alpes, LIP - Laboratoire de l'Informatique du Parallélisme
3 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 : Numerical programs with IEEE 754 floating-point computations may suffer from inaccuracies since finite precision arithmetic is an approximation of real arithmetic. Solutions that reduce the loss of accuracy are available as, for instance, compensated algorithms, more precise computation with double-double or similar libraries. Our objective is to automatically improve the numerical quality of a numerical program with the smallest impact on its performances. We define and implement source code transformation to derive automatically compensated programs. We present several experimental results to compare the transformed programs and existing solutions. The transformed programs are as accurate and efficient than the implementations of compensated algorithms when the latter exist.
Complete list of metadata

Cited literature [24 references]  Display  Hide  Download
Contributor : Laurent Thévenoux Connect in order to contact the contributor
Submitted on : Thursday, October 27, 2016 - 1:15:16 PM
Last modification on : Friday, August 5, 2022 - 2:56:33 PM


Distributed under a Creative Commons Attribution 4.0 International License



Laurent Thévenoux, Philippe Langlois, Matthieu Martel. Automatic Source-to-Source Error Compensation of Floating-Point Programs. Computational Science and Engineering (CSE), Oct 2015, Porto, Portugal. pp.9--16, ⟨10.1109/CSE.2015.11⟩. ⟨hal-01158399⟩



Record views


Files downloads