Table of Contents

Method Ceiling

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

Ceiling(Vector512<float>)

Computes the ceiling of each element in a vector (计算向量中每个元素的向上取整). It is also known as round to positive infinity (它也被称作向正无穷舍入). See more: ToPositiveInfinity. Mnemonic: rt[i] := ceiling(value[i]).

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

Parameters

value Vector512<float>

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

Returns

Vector512<float>

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

See Also

Ceiling(Vector512<double>)

Computes the ceiling of each element in a vector (计算向量中每个元素的向上取整). It is also known as round to positive infinity (它也被称作向正无穷舍入). See more: ToPositiveInfinity. Mnemonic: rt[i] := ceiling(value[i]).

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

Parameters

value Vector512<double>

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

Returns

Vector512<double>

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

See Also