[PATCH] D97759: [doc] Fix description of _Float16
Kito Cheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 2 01:48:15 PST 2021
kito-cheng created this revision.
kito-cheng added reviewers: SjoerdMeijer, craig.topper, simon_tatham, stuij.
kito-cheng added a project: clang.
kito-cheng requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
According to ISO/IEC TS 18661-3:2015[1] `_FloatN` is interchange floating point type, extended floating-point type is `_FloatNx` (e.g. `_Float32x`).
[1] http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2342.pdf
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D97759
Files:
docs/LanguageExtensions.rst
Index: docs/LanguageExtensions.rst
===================================================================
--- docs/LanguageExtensions.rst
+++ docs/LanguageExtensions.rst
@@ -541,7 +541,7 @@
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97759.327387.patch
Type: text/x-patch
Size: 743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210302/d35c4d88/attachment.bin>
More information about the llvm-commits
mailing list