Table of Contents

Method YRoundToZero

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

YRoundToZero(Vector512<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]).

public static Vector512<float> YRoundToZero(Vector512<float> value)

Parameters

value Vector512<float>

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

Returns

Vector512<float>

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

See Also

YRoundToZero(Vector512<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]).

public static Vector512<double> YRoundToZero(Vector512<double> value)

Parameters

value Vector512<double>

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

Returns

Vector512<double>

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

See Also