forked from OSchip/llvm-project
[doc] Fix description of _Float16
According to ISO/IEC TS 18661-3:2015 _FloatN is interchange floating point type, extended floating-point type is _FloatNx. http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2342.pdf Reviewed By: SjoerdMeijer Differential revision: https://reviews.llvm.org/D97759
This commit is contained in:
parent
35e2e448ce
commit
b46a1b129f
|
@ -542,7 +542,7 @@ The behavior of ``__fp16`` is specified by the ARM C Language Extensions (`ACLE
|
|||
Clang uses the ``binary16`` format from IEEE 754-2008 for ``__fp16``, not the ARM
|
||||
alternative format.
|
||||
|
||||
``_Float16`` is an extended floating-point type. This means that, just like arithmetic on
|
||||
``_Float16`` is an interchange floating-point type. This means that, just like arithmetic on
|
||||
``float`` or ``double``, arithmetic on ``_Float16`` operands is formally performed in the
|
||||
``_Float16`` type, so that e.g. the result of adding two ``_Float16`` values has type
|
||||
``_Float16``. The behavior of ``_Float16`` is specified by ISO/IEC TS 18661-3:2015
|
||||
|
|
Loading…
Reference in New Issue