Skip to Main content Skip to Navigation
New interface
Reports (Research report)

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 (
Document type :
Reports (Research report)
Complete list of metadata

Cited literature [2 references]  Display  Hide  Download
Contributor : Sylvain Pion Connect in order to contact the contributor
Submitted on : Monday, December 8, 2008 - 1:22:41 PM
Last modification on : Friday, October 28, 2022 - 3:28:40 AM
Long-term archiving on: : Thursday, October 11, 2012 - 12:50:47 PM


Files produced by the author(s)


  • HAL Id : inria-00345094, version 1


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



Record views


Files downloads