Table of Contents

Method ConvertToUInt64_Range52RoundToEven

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

ConvertToUInt64_Range52RoundToEven(Vector<double>)

Convert to a vector whose elements are of type UInt64, rounding mode is round to even(round to nearest integer) (转换为元素类型是UInt64的向量, 舍入模式为舍入到偶数(舍入到最近整数)). Works for inputs in the range: [0, 2^52). Mnemonic: rt[i] := (UInt64)(round_to_even(value[i])).

[CLSCompliant(false)]
public static Vector<ulong> ConvertToUInt64_Range52RoundToEven(Vector<double> value)

Parameters

value Vector<double>

The source vector (源向量).

Returns

Vector<ulong>

The converted vector (转换后的向量).

See Also