Table of Contents

Method ConvertToInt64_Range52

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

ConvertToInt64_Range52(Vector256<double>)

Convert to a vector whose elements are of type Int64, rounding mode is truncate(round to zero) (转换为元素类型是Int64的向量, 舍入模式为截断(舍入到零)). Works for inputs in the range: [-2^51, 2^51). Mnemonic: rt[i] := (Int64)(value[i]).

public static Vector256<long> ConvertToInt64_Range52(Vector256<double> value)

Parameters

value Vector256<double>

The source vector (源向量).

Returns

Vector256<long>

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

See Also