diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst --- a/clang/docs/LanguageExtensions.rst +++ b/clang/docs/LanguageExtensions.rst @@ -569,12 +569,13 @@ ``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 -or untyped arguments. As a consequence, some caution must be taken when using -certain library facilities with ``_Float16``; for example, there is no ``printf`` format -specifier for ``_Float16``, and (unlike ``float``) it will not be implicitly promoted to -``double`` when passed to ``printf``, so the programmer must explicitly cast it to -``double`` before using it with an ``%f`` or similar specifier. +types and ``__fp16``, ``_Float16`` values are not promoted to ``double`` when +passed as variadic or untyped arguments. As a consequence, some caution must +be taken when using certain library facilities with ``_Float16``; for example, +there is no ``printf`` format specifier for ``_Float16``, and (unlike ``float``) +it will not be implicitly promoted to ``double`` when passed to ``printf``, so +the programmer must explicitly cast it to ``double`` before using it with an +``%f`` or similar specifier. Messages on ``deprecated`` and ``unavailable`` Attributes =========================================================