Table of Contents

Property Ceiling_AcceleratedTypes

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

Ceiling_AcceleratedTypes

Types with hardware acceleration when running Ceiling (运行 Ceiling 时具有硬件加速的类型).

TypeCodeFlags Ceiling_AcceleratedTypes { get; }

Property Value

TypeCodeFlags

Remarks

Methods used to calculate rounding (用于计算舍入的方法):

- Ceiling(Vector<float>): Computes the ceiling of each element in a vector (计算向量中每个元素的向上取整). It is also known as round to positive infinity (它也被称作向正无穷舍入). See more: ToPositiveInfinity.

- Floor(Vector<float>): Computes the floor of each element in a vector (计算向量中每个元素的向下取整). It is also known as round to negative infinity (它也被称作向负无穷舍入). See more: ToNegativeInfinity.

- YRoundToEven(Vector<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(Vector<float>): Computes the round to zero of each element in a vector (计算向量中每个元素的向零舍入). It is also known as truncate (它也被称作截断取整). See more: ToZero.

See Also