Property YRoundToZero_AcceleratedTypes
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
YRoundToZero_AcceleratedTypes
Types with hardware acceleration when running YRoundToZero
(运行 YRoundToZero
时具有硬件加速的类型).
public static TypeCodeFlags YRoundToZero_AcceleratedTypes { get; }
Property Value
Remarks
Methods used to calculate rounding (用于计算舍入的方法):
- Ceiling(Vector256<float>): Computes the ceiling of each element in a vector (计算向量中每个元素的向上取整). It is also known as round to positive infinity (它也被称作向正无穷舍入). See more: ToPositiveInfinity.
- Floor(Vector256<float>): Computes the floor of each element in a vector (计算向量中每个元素的向下取整). It is also known as round to negative infinity (它也被称作向负无穷舍入). See more: ToNegativeInfinity.
- YRoundToEven(Vector256<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.
- YRoundToZero(Vector256<float>): Computes the round to zero of each element in a vector (计算向量中每个元素的向零舍入). It is also known as truncate (它也被称作截断取整). See more: ToZero.
- See Also