By: dmcq (dmcq.delete@this.fano.co.uk), December 18, 2020 6:18 pm
Room: Moderated Discussions
anon (an.delete@this.n.com) on December 18, 2020 11:23 am wrote:
> Per Hesselgren (perhesselgren.delete@this.yahoo.se) on December 18, 2020 9:16 am wrote:
> > anon (an.delete@this.n.com) on December 18, 2020 8:29 am wrote:
> > > I read that C2X (the next C language revision) will add support for decimal floating point.
> > > I know that POWER and SPARC CPUs have hardware support for decimal FP,
> > > but are there any plans to include it on future x86 or ARM CPUs?
> > >
> > > Also, which languages have native support (without libraries) for decimal FP right now?
> > > I know of COBOL, PL/I, Ada, C# and F#. Any others?
> >
> > Free Pascal:
> > Currency in Free Pascal
>
> I thought about Free Pascal right after I clicked the post button. But Free Pascal supports
> only 64bit decimals while the others support 128bit FP decimals and/or fixed decimals.
I don't think there is a great case for implementing decimal floating point without also supporting quad precision - and I believe only IBM z and Power series do that currently.
> Per Hesselgren (perhesselgren.delete@this.yahoo.se) on December 18, 2020 9:16 am wrote:
> > anon (an.delete@this.n.com) on December 18, 2020 8:29 am wrote:
> > > I read that C2X (the next C language revision) will add support for decimal floating point.
> > > I know that POWER and SPARC CPUs have hardware support for decimal FP,
> > > but are there any plans to include it on future x86 or ARM CPUs?
> > >
> > > Also, which languages have native support (without libraries) for decimal FP right now?
> > > I know of COBOL, PL/I, Ada, C# and F#. Any others?
> >
> > Free Pascal:
> > Currency in Free Pascal
>
> I thought about Free Pascal right after I clicked the post button. But Free Pascal supports
> only 64bit decimals while the others support 128bit FP decimals and/or fixed decimals.
I don't think there is a great case for implementing decimal floating point without also supporting quad precision - and I believe only IBM z and Power series do that currently.