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

Kito Cheng
Thu Mar 11 09:07:13 GMT 2021


Would it be possible to support interchange floating point and/or
extended floating point for C++, which is introduced by ISO/IEC TS

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?



More information about the Gcc mailing list