Method YNarrowSaturateUnsigned_Clamp
- Namespace
- Zyl.VectorTraits.Impl.AVector512
- Assembly
- VectorTraits.dll
YNarrowSaturateUnsigned_Clamp(Vector512<long>, Vector512<long>)
Saturate narrows two signed Vector512<T> instances into one unsigned Vector512<T>" (将两个有符号 Vector512<T> 实例饱和缩窄为一个无符号 Vector512<T> ). />.
Mnemonic: rt[i] := narrow_saturate(element_ref(i, lower, upper)) = narrow(clamp(element_ref(i, lower, upper), 0, TOut.MaxValue))
.
[CLSCompliant(false)]
public static Vector512<uint> YNarrowSaturateUnsigned_Clamp(Vector512<long> lower, Vector512<long> upper)
Parameters
lower
Vector512<long>The vector that will be narrowed to the lower half of the result vector (构成缩窄结果向量的低半部分向量).
upper
Vector512<long>The vector that will be narrowed to the upper half of the result vector (构成缩窄结果向量的高半部分向量).
Returns
- Vector512<uint>
A Vector512<T> containing elements narrowed from
lower
andupper
(一个包含了来自lower
与upper
缩窄元素的向量).
- See Also