C++ support for decimal floating point

Richard Henderson rth@redhat.com
Wed Sep 23 21:21:00 GMT 2009


On 09/23/2009 02:11 PM, Janis Johnson wrote:
> The class types for std::decimal::decimal32 and friends do have the
> proper modes.  I suppose I could special-case aggregates of those modes
> but the plan was to pass these particular classes (and typedefs of
> them) the same as scalars, rather than _any_ class with those modes.
> I'll bring this up again on the C++ ABI mailing list.

You could special-case this in the C++ conversion to generic
by having the std::decimal classes decompose to scalars immediately.



More information about the Gcc mailing list