[clang] b46a1b1 - [doc] Fix description of _Float16
Kito Cheng via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 3 22:18:46 PST 2021
Author: Kito Cheng
Date: 2021-03-04T14:17:54+08:00
New Revision: b46a1b129f684a230dd680341d198d8b11731812
URL: https://github.com/llvm/llvm-project/commit/b46a1b129f684a230dd680341d198d8b11731812
DIFF: https://github.com/llvm/llvm-project/commit/b46a1b129f684a230dd680341d198d8b11731812.diff
LOG: [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
Added:
Modified:
clang/docs/LanguageExtensions.rst
Removed:
################################################################################
diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst
index 4b82b8a6dbbc..4e25abca656a 100644
--- a/clang/docs/LanguageExtensions.rst
+++ b/clang/docs/LanguageExtensions.rst
@@ -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
More information about the cfe-commits
mailing list