Skip to Main content Skip to Navigation
Reports

Directed Rounding Arithmetic Operations in C++

Guillaume Melquiond 1 Sylvain Pion 2
1 PROVAL - Proof of Programs
UP11 - Université Paris-Sud - Paris 11, Inria Saclay - Ile de France, CNRS - Centre National de la Recherche Scientifique : UMR
2 GEOMETRICA - Geometric computing
CRISAM - Inria Sophia Antipolis - Méditerranée , Inria Saclay - Ile de France
Abstract : 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).
Complete list of metadatas

Cited literature [2 references]  Display  Hide  Download

https://hal.inria.fr/inria-00345094
Contributor : Sylvain Pion <>
Submitted on : Monday, December 8, 2008 - 1:22:41 PM
Last modification on : Wednesday, September 16, 2020 - 5:04:38 PM
Long-term archiving on: : Thursday, October 11, 2012 - 12:50:47 PM

File

RR-6757.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : inria-00345094, version 1

Collections

Citation

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

Share

Metrics

Record views

443

Files downloads

193