Method Floor
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
Floor(Vector256<float>)
Computes the floor of each element in a vector (计算向量中每个元素的向下取整). It is also known as round to negative infinity (它也被称作向负无穷舍入). See more: ToNegativeInfinity.
Mnemonic: rt[i] := floor(value[i])
.
Vector256<float> Floor(Vector256<float> value)
Parameters
Returns
- Vector256<float>
A vector whose elements are the floor of the elements in
value
(一个向量,其元素是value
中各元素的向下取整).
- See Also
Floor(Vector256<double>)
Computes the floor of each element in a vector (计算向量中每个元素的向下取整). It is also known as round to negative infinity (它也被称作向负无穷舍入). See more: ToNegativeInfinity.
Mnemonic: rt[i] := floor(value[i])
.
Vector256<double> Floor(Vector256<double> value)
Parameters
Returns
- Vector256<double>
A vector whose elements are the floor of the elements in
value
(一个向量,其元素是value
中各元素的向下取整).
- See Also