Method YRoundToEven
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
YRoundToEven(Vector512<float>)
Computes the round to even of each element in a vector (计算向量中每个元素的向偶数舍入). It is also known as rounding half to even
/round to nearest integer
(它也被称作四舍六入五成双
/舍入到最近整数
). See more: ToEven.
Mnemonic: rt[i] := round_to_even(value[i])
.
Vector512<float> YRoundToEven(Vector512<float> value)
Parameters
Returns
- Vector512<float>
A vector whose elements are the round to even of the elements in
value
(一个向量,其元素是value
中各元素的向偶数舍入).
- See Also
YRoundToEven(Vector512<double>)
Computes the round to even of each element in a vector (计算向量中每个元素的向偶数舍入). It is also known as rounding half to even
/round to nearest integer
(它也被称作四舍六入五成双
/舍入到最近整数
). See more: ToEven.
Mnemonic: rt[i] := round_to_even(value[i])
.
Vector512<double> YRoundToEven(Vector512<double> value)
Parameters
Returns
- Vector512<double>
A vector whose elements are the round to even of the elements in
value
(一个向量,其元素是value
中各元素的向偶数舍入).
- See Also