LEMA: Towards a Language for Reliable Arithmetic

Vincent Lefèvre 1 Philippe Théveny 1 Florent De Dinechin 1 Claude-Pierre Jeannerod 1 Christophe Mouilleron 1 David Pfannholzer 1 Nathalie Revol 1
1 ARENAIRE - Computer arithmetic
Inria Grenoble - Rhône-Alpes, LIP - Laboratoire de l'Informatique du Parallélisme
Abstract : Generating certified and efficient numerical codes requires information ranging from the mathematical level to the representation of numbers. Even though the mathematical semantics can be expressed using the content part of MathML, this language does not encompass the implementation on computers. Indeed various arithmetics may be involved, like floating-point or fixed-point, in fixed precision or arbitrary precision, and current tools cannot handle all of these. Therefore we propose in this paper LEMA (Langage pour les Expressions Mathématiques Annotées), a descriptive language based on MathML with additional expressiveness. LEMA will be used during the automatic generation of certified numerical codes. Such a generation process typically involves several steps, and LEMA would thus act as a glue to represent and store the information at every stage. First, we specify in the language the characteristics of the arithmetic as described in the IEEE 754 floating-point standard: formats, exceptions, rounding modes. This can be generalized to other arithmetics. Then, we use annotations to attach a specific arithmetic context to an expression tree. Finally, considering the evaluation of the expression in this context allows us to deduce several properties on the result, like being exact or being an exception. Other useful properties include numerical ranges and error bounds.
Liste complète des métadonnées

Littérature citée [21 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/inria-00473767
Contributeur : Vincent Lefèvre <>
Soumis le : vendredi 16 avril 2010 - 13:28:06
Dernière modification le : samedi 17 septembre 2016 - 01:35:13
Document(s) archivé(s) le : mardi 28 septembre 2010 - 12:39:07

Fichier

RR-7258.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : inria-00473767, version 1

Collections

Citation

Vincent Lefèvre, Philippe Théveny, Florent De Dinechin, Claude-Pierre Jeannerod, Christophe Mouilleron, et al.. LEMA: Towards a Language for Reliable Arithmetic. [Research Report] RR-7258, INRIA. 2010, pp.15. 〈inria-00473767〉

Partager

Métriques

Consultations de
la notice

232

Téléchargements du document

160