IEEE Interchange floating point and extended floating point for C++

Kito Cheng kito.cheng@gmail.com
Fri Mar 12 06:50:16 GMT 2021


Hi Jonathan:

Thanks for providing that information!


On Fri, Mar 12, 2021 at 12:17 AM Jonathan Wakely via Gcc
<gcc@gcc.gnu.org> wrote:
>
> On Thu, 11 Mar 2021 at 15:14, Jonathan Wakely wrote:
> >
> > On Thu, 11 Mar 2021 at 15:07, Gabriel Ravier via Gcc <gcc@gcc.gnu.org> wrote:
> > >
> > > On 3/11/21 1:56 PM, Jonathan Wakely via Gcc wrote:
> > > > On Thu, 11 Mar 2021 at 09:43, Kito Cheng via Gcc <gcc@gcc.gnu.org> wrote:
> > > >> Hi:
> > > >>
> > > >> Would it be possible to support interchange floating point and/or
> > > >> extended floating point for C++, which is introduced by ISO/IEC TS
> > > >> 18661-3?
> > > >>
> > > >> I've read the note about C++ support from the initial commit log[1],
> > > >> so I know there is some concern about C++ support for that, is it
> > > >> possible to enable that for C++ like a language extension for C++?
> > > >>
> > > >> The main demand comes from the data type for half-precision, ISO/IEC
> > > >> TS 18661-3 is the only common spec which supports half-precision and
> > > >> both GCC and clang are supported.
> > > >>
> > > >> However it can't be used on C++ for GCC, so it's hard to use that as a
> > > >> workable solution for half-precision data types.
> > > >>
> > > >> Or maybe ISO/IEC JTC1 SC22 WG14 N2016[2] is a better way for
> > > >> half-precision data types?
> > > > See https://wg21.link/p1467 and https://wg21.link/p1467 for the
> > > > relevant C++ proposals.
> > > Isn't that the same link two times ?
> >
> > The difference is smaller than epsilon.
> >
> > Sorry, the second one should be https://wg21.link/p14678
>
> Argh! No, it should be https://wg21.link/p1468


More information about the Gcc mailing list