By: anon (an.delete@this.n.com), December 18, 2020 12:23 pm
Room: Moderated Discussions
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.
> 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.