IEEE Interchange floating point and extended floating point for C++
Thu Mar 11 14:26:55 GMT 2021
On Thu, 11 Mar 2021, Kito Cheng wrote:
> I've read the note about C++ support from the initial commit log,
> 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++?
I don't know if C++ has reached any conclusions about what form C++
support for such types should take, but my expectation was that something
library-based, similar to the support for decimal floating-point types,
might be used.
> Or maybe ISO/IEC JTC1 SC22 WG14 N2016 is a better way for
> half-precision data types?
No. short float has been specifically rejected in WG14, given the
expectation that people using narrower-than-float types will want a
specific format (whether binary16 or bfloat16) rather than something more
generic where they don't know what format it has.
Joseph S. Myers
More information about the Gcc