From: Richard Smith Date: Fri, 16 Aug 2019 22:08:39 +0000 (+0000) Subject: [doc] Fix some minor formatting issues. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eef5e17953f2d10cf4ed549b528a686437cd6ec2;p=clang [doc] Fix some minor formatting issues. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@369161 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LanguageExtensions.rst b/docs/LanguageExtensions.rst index 2731bae415..67cdbb7da9 100644 --- a/docs/LanguageExtensions.rst +++ b/docs/LanguageExtensions.rst @@ -496,9 +496,11 @@ Clang supports two half-precision (16-bit) floating point types: ``__fp16`` and ``__fp16`` is supported on every target, as it is purely a storage format; see below. ``_Float16`` is currently only supported on the following targets, with further targets pending ABI standardization: -- 32-bit ARM -- 64-bit ARM (AArch64) -- SPIR + +* 32-bit ARM +* 64-bit ARM (AArch64) +* SPIR + ``_Float16`` will be supported on more targets as they define ABIs for it. ``__fp16`` is a storage and interchange format only. This means that values of @@ -531,10 +533,8 @@ Because ``__fp16`` operands are always immediately promoted to ``float``, the common real type of ``__fp16`` and ``_Float16`` for the purposes of the usual arithmetic conversions is ``float``. -A literal can be given ``_Float16`` type using the suffix ``f16``; for example: -``` -3.14f16 -``` +A literal can be given ``_Float16`` type using the suffix ``f16``. For example, +``3.14f16``. Because default argument promotion only applies to the standard floating-point types, ``_Float16`` values are not promoted to ``double`` when passed as variadic