Table of Contents

Method YRoundToZero

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

YRoundToZero(Vector256<float>)

Computes the round to zero of each element in a vector (计算向量中每个元素的向零舍入). It is also known as truncate (它也被称作截断取整). See more: ToZero. Mnemonic: rt[i] := round_to_zero(value[i]).

Vector256<float> YRoundToZero(Vector256<float> value)

Parameters

value Vector256<float>

The vector that will have its round to zero computed (将计算向零舍入的向量).

Returns

Vector256<float>

A vector whose elements are the round to zero of the elements in value (一个向量,其元素是 value 中各元素的向零舍入).

See Also

YRoundToZero(Vector256<double>)

Computes the round to zero of each element in a vector (计算向量中每个元素的向零舍入). It is also known as truncate (它也被称作截断取整). See more: ToZero. Mnemonic: rt[i] := round_to_zero(value[i]).

Vector256<double> YRoundToZero(Vector256<double> value)

Parameters

value Vector256<double>

The vector that will have its round to zero computed (将计算向零舍入的向量).

Returns

Vector256<double>

A vector whose elements are the round to zero of the elements in value (一个向量,其元素是 value 中各元素的向零舍入).

See Also