Boost logo

Boost :

Subject: Re: [boost] Specific-Width Floating-Point Typedefs
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2013-03-28 09:39:48


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/index.html
>
> https://svn.boost.org/svn/boost/sandbox/precision/libs/precision/doc/precision.pdf
>
> 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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk