On 28/03/13 13:28, Paul A. Bristow wrote:
There has recently been some discussion on improving portability of programs using floating-point.
Drawing on the benefits from definition of typedefs for int32_t, int64_t, int128_t . we have drawn up a proposal to add similar typedefs for floating-point.
Our draft document (in both html and pdf) is at
https://svn.boost.org/svn/boost/sandbox/precision/libs/precision/doc/html/in...
https://svn.boost.org/svn/boost/sandbox/precision/libs/precision/doc/precisi...
We hope to propose this to the SG6 Numerics subgroup of WG21 ISO C++ standards body.
But would welcome comments from Boosters to help us improve this proposal.
Seems simple enough. Personally I've grown used to assume float is float32_t and double is float64_t, but it could be useful to have proper typedefs for this.