On Thu, 11 Mar 2021, Kito Cheng wrote:

> 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++?

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[2] 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
jos...@codesourcery.com

Reply via email to