@@ -530,26 +530,26 @@ elementwise to the input.
530
530
531
531
Unless specified otherwise operation(±0) = ±0 and operation(±infinity) = ±infinity
532
532
533
- ========================================= ================================================================ =========================================
534
- Name Operation Supported element types
535
- ========================================= ================================================================ =========================================
536
- T __builtin_elementwise_abs(T x) return the absolute value of a number x; the absolute value of signed integer and floating point types
537
- the most negative integer remains the most negative integer
538
- T __builtin_elementwise_ceil(T x) return the smallest integral value greater than or equal to x floating point types
539
- T __builtin_elementwise_floor(T x) return the largest integral value less than or equal to x floating point types
540
- T __builtin_elementwise_roundeven(T x) round x to the nearest integer value in floating point format, floating point types
541
- rounding halfway cases to even (that is, to the nearest value
542
- that is an even integer), regardless of the current rounding
543
- direction.
544
- T__builtin_elementwise_trunc(T x) return the integral value nearest to but no larger in floating point types
545
- magnitude than x
546
- T __builtin_elementwise_max(T x, T y) return x or y, whichever is larger integer and floating point types
547
- T __builtin_elementwise_min(T x, T y) return x or y, whichever is smaller integer and floating point types
548
- T __builtin_elementwise_add_sat(T x, T y) return the sum of x and y, clamped to the range of integer types
549
- representable values for the signed/unsigned integer type.
550
- T __builtin_elementwise_sub_sat(T x, T y) return the difference of x and y, clamped to the range of integer types
551
- representable values for the signed/unsigned integer type. .
552
- ========================================= ================================================================ =========================================
533
+ =========================================== ================================================================ =========================================
534
+ Name Operation Supported element types
535
+ =========================================== ================================================================ =========================================
536
+ T __builtin_elementwise_abs(T x) return the absolute value of a number x; the absolute value of signed integer and floating point types
537
+ the most negative integer remains the most negative integer
538
+ T __builtin_elementwise_ceil(T x) return the smallest integral value greater than or equal to x floating point types
539
+ T __builtin_elementwise_floor(T x) return the largest integral value less than or equal to x floating point types
540
+ T __builtin_elementwise_roundeven(T x) round x to the nearest integer value in floating point format, floating point types
541
+ rounding halfway cases to even (that is, to the nearest value
542
+ that is an even integer), regardless of the current rounding
543
+ direction.
544
+ T__builtin_elementwise_trunc(T x) return the integral value nearest to but no larger in floating point types
545
+ magnitude than x
546
+ T __builtin_elementwise_max(T x, T y) return x or y, whichever is larger integer and floating point types
547
+ T __builtin_elementwise_min(T x, T y) return x or y, whichever is smaller integer and floating point types
548
+ T __builtin_elementwise_add_sat(T x, T y) return the sum of x and y, clamped to the range of integer types
549
+ representable values for the signed/unsigned integer type.
550
+ T __builtin_elementwise_sub_sat(T x, T y) return the difference of x and y, clamped to the range of integer types
551
+ representable values for the signed/unsigned integer type.
552
+ =========================================== ================================================================ =========================================
553
553
554
554
555
555
*Reduction Builtins *
0 commit comments