Directed Rounding Arithmetic Operations in C++ - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Rapport (Rapport De Recherche) Année : 2008

Directed Rounding Arithmetic Operations in C++

Guillaume Melquiond
Sylvain Pion

Résumé

We propose the addition of new functions to the C++0x standard library that provide floating-point operations (+, -, *, /, sqrt and fma) as well as conversion functions with directed rounding. This set of functions is necessary to provide efficient support for interval arithmetic and related computations, and they directly map to IEEE-754 specifications. These functions require special compiler support due to their "constexpr" nature. This document is submitted to the ISO/WG21 working group which standardizes the C++ language, under the document N2811 (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2811.pdf).
Fichier principal
Vignette du fichier
RR-6757.pdf (133.14 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

inria-00345094 , version 1 (08-12-2008)

Identifiants

  • HAL Id : inria-00345094 , version 1

Citer

Guillaume Melquiond, Sylvain Pion. Directed Rounding Arithmetic Operations in C++. [Research Report] RR-6757, INRIA. 2008, pp.11. ⟨inria-00345094⟩
227 Consultations
173 Téléchargements

Partager

Gmail Facebook X LinkedIn More