Skip to content

Commit b4863a5

Browse files
authored
Update LanguageExtensions.rst
1 parent 2a7cb73 commit b4863a5

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

clang/docs/LanguageExtensions.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -745,12 +745,10 @@ Let ``VT`` be a vector type and ``ET`` the element type of ``VT``.
745745
======================================= ====================================================================== ==================================
746746
Name Operation Supported element types
747747
======================================= ====================================================================== ==================================
748-
ET __builtin_reduce_max(VT a) return the largest element of the vector. If the element type is integer and floating point types
749-
floating point, this function has the same comparison semantics as
750-
``__builtin_reduce_maximum``.
751-
ET __builtin_reduce_min(VT a) return the smallest element of the vector. If the element type is integer and floating point types
752-
floating point, this function has the same comparison semantics as
753-
``__builtin_reduce_minimum``.
748+
ET __builtin_reduce_max(VT a) return the largest element of the vector. The result will always be integer and floating point types
749+
a number unless all elements of the vector are NaN.
750+
ET __builtin_reduce_min(VT a) return the smallest element of the vector. The result will always be integer and floating point types
751+
a number unless all elements of the vector are NaN.
754752
ET __builtin_reduce_add(VT a) \+ integer types
755753
ET __builtin_reduce_mul(VT a) \* integer types
756754
ET __builtin_reduce_and(VT a) & integer types

0 commit comments

Comments
 (0)