Created on 2006-10-17.00:00:00 last changed 172 months ago
Proposed resolution:
1. Change the heading of subclause 3.4, "Headers <cdecfloat>
and <decfloat.h>
" to "Additions to headers <cfloat>
and <float.h>
."
2. Change the text of subclause 3.4 as follows:
The standard C++ headers<cfloat>
and<float.h>
define characteristics of the floating-point typesfloat
,double
, andlong double
. Their contents remain unchanged by this Technical Report.
Headers<cdecfloat>
and<decfloat.h>
define characteristics of the decimal floating-point typesdecimal32
,decimal64
, anddecimal128
. As well,<decfloat.h>
defines the convenience typedefs_Decimal32
,_Decimal64
, and_Decimal128
, for compatibilty with the C programming language.The header
<cfloat>
is described in [tr.c99.cfloat]. The header<float.h>
is described in [tr.c99.floath]. These headers are extended by this Technical Report to define characteristics of the decimal floating-point typesdecimal32
,decimal64
, anddecimal128
. As well,<float.h>
is extended to define the convenience typedefs_Decimal32
,_Decimal64
, and_Decimal128
for compatibility with the C programming language.
3. Change the heading of subclause 3.4.1, "Header <cdecfloat>
synopsis" to "Additions to header <cfloat>
synopsis."
4. Change the heading of subclause 3.4.2, "Header <decfloat.h>
synopsis" to "Additions to header <float.h>
synopsis."
5. Change the contents of 3.4.2 as follows:
#include <cdecfloat>// C-compatibility convenience typedefs: typedef std::decimal::decimal32 _Decimal32; typedef std::decimal::decimal64 _Decimal64; typedef std::decimal::decimal128 _Decimal128;
In Berlin, WG14 decided to drop the <decfloat.h> header. The contents of that header have been moved into <float.h>. For the sake of C compatibility, we should make corresponding changes.
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-10-21 18:28:33 | admin | set | messages: + msg3196 |
2006-10-17 00:00:00 | admin | create |