Table of Contents

Method Floor

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

Floor(Vector128<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]).

public static Vector128<float> Floor(Vector128<float> value)

Parameters

value Vector128<float>

The vector that will have its floor computed (将计算向下舍入的向量).

Returns

Vector128<float>

A vector whose elements are the floor of the elements in value (一个向量,其元素是 value 中各元素的向下取整).

See Also

Floor(Vector128<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]).

public static Vector128<double> Floor(Vector128<double> value)

Parameters

value Vector128<double>

The vector that will have its floor computed (将计算向下舍入的向量).

Returns

Vector128<double>

A vector whose elements are the floor of the elements in value (一个向量,其元素是 value 中各元素的向下取整).

See Also