Using _Decimal64
A.J. Bonnema
gbonnema@xs4all.nl
Thu Sep 7 17:02:00 GMT 2017
On 09/06/2017 06:21 PM, Jonathan Wakely wrote:
> On 6 September 2017 at 16:59, A.J. Bonnema wrote:
>
> Indeed, when I created a small program, it compiles. Doesn't run as I
> expected (printf shows a different value), but it compiles and runs.
The _Decimal type is actually pretty awesome! Except for printf for
which I have to cast back to float or double, it works just like other
numeric variables.
Apart from that it is not a part of the current C standard (C11) why
don't we see more people talking about this? As far as I can see it is
an excellent addition for financial and reporting applications. Just
wondering.
Kind regards, Guus.
More information about the Gcc-help
mailing list