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

Gabriel Ravier gabravier@gmail.com
Thu Mar 11 14:02:29 GMT 2021


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 ?


More information about the Gcc mailing list