[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:
Kito Cheng 2021-03-02 17:24:08 +08:00
parent 35e2e448ce
commit b46a1b129f
1 changed files with 1 additions and 1 deletions

View File

@ -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