Table of Contents

Method ExtractMostSignificantBits

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

ExtractMostSignificantBits(Vector256<float>)

Extracts the most significant bit from each element in a vector (从向量的每个元素中提取最高有效位). Mnemonic: rt |= getMostSignificantBit(vector[i]) << i = ( vector[i] >>> (sizeof(T)*8-1) ) << i.

[CLSCompliant(false)]
public static uint ExtractMostSignificantBits(Vector256<float> value)

Parameters

value Vector256<float>

Returns

uint

The packed most significant bits extracted from the elements in vector (从 vector 中各元素中提取的最高有效位的紧缩值).

See Also

ExtractMostSignificantBits(Vector256<double>)

Extracts the most significant bit from each element in a vector (从向量的每个元素中提取最高有效位). Mnemonic: rt |= getMostSignificantBit(vector[i]) << i = ( vector[i] >>> (sizeof(T)*8-1) ) << i.

[CLSCompliant(false)]
public static uint ExtractMostSignificantBits(Vector256<double> value)

Parameters

value Vector256<double>

Returns

uint

The packed most significant bits extracted from the elements in vector (从 vector 中各元素中提取的最高有效位的紧缩值).

See Also

ExtractMostSignificantBits(Vector256<sbyte>)

Extracts the most significant bit from each element in a vector (从向量的每个元素中提取最高有效位). Mnemonic: rt |= getMostSignificantBit(vector[i]) << i = ( vector[i] >>> (sizeof(T)*8-1) ) << i.

[CLSCompliant(false)]
public static uint ExtractMostSignificantBits(Vector256<sbyte> value)

Parameters

value Vector256<sbyte>

Returns

uint

The packed most significant bits extracted from the elements in vector (从 vector 中各元素中提取的最高有效位的紧缩值).

See Also

ExtractMostSignificantBits(Vector256<byte>)

Extracts the most significant bit from each element in a vector (从向量的每个元素中提取最高有效位). Mnemonic: rt |= getMostSignificantBit(vector[i]) << i = ( vector[i] >>> (sizeof(T)*8-1) ) << i.

[CLSCompliant(false)]
public static uint ExtractMostSignificantBits(Vector256<byte> value)

Parameters

value Vector256<byte>

Returns

uint

The packed most significant bits extracted from the elements in vector (从 vector 中各元素中提取的最高有效位的紧缩值).

See Also

ExtractMostSignificantBits(Vector256<short>)

Extracts the most significant bit from each element in a vector (从向量的每个元素中提取最高有效位). Mnemonic: rt |= getMostSignificantBit(vector[i]) << i = ( vector[i] >>> (sizeof(T)*8-1) ) << i.

[CLSCompliant(false)]
public static uint ExtractMostSignificantBits(Vector256<short> value)

Parameters

value Vector256<short>

Returns

uint

The packed most significant bits extracted from the elements in vector (从 vector 中各元素中提取的最高有效位的紧缩值).

See Also

ExtractMostSignificantBits(Vector256<ushort>)

Extracts the most significant bit from each element in a vector (从向量的每个元素中提取最高有效位). Mnemonic: rt |= getMostSignificantBit(vector[i]) << i = ( vector[i] >>> (sizeof(T)*8-1) ) << i.

[CLSCompliant(false)]
public static uint ExtractMostSignificantBits(Vector256<ushort> value)

Parameters

value Vector256<ushort>

Returns

uint

The packed most significant bits extracted from the elements in vector (从 vector 中各元素中提取的最高有效位的紧缩值).

See Also

ExtractMostSignificantBits(Vector256<int>)

Extracts the most significant bit from each element in a vector (从向量的每个元素中提取最高有效位). Mnemonic: rt |= getMostSignificantBit(vector[i]) << i = ( vector[i] >>> (sizeof(T)*8-1) ) << i.

[CLSCompliant(false)]
public static uint ExtractMostSignificantBits(Vector256<int> value)

Parameters

value Vector256<int>

Returns

uint

The packed most significant bits extracted from the elements in vector (从 vector 中各元素中提取的最高有效位的紧缩值).

See Also

ExtractMostSignificantBits(Vector256<uint>)

Extracts the most significant bit from each element in a vector (从向量的每个元素中提取最高有效位). Mnemonic: rt |= getMostSignificantBit(vector[i]) << i = ( vector[i] >>> (sizeof(T)*8-1) ) << i.

[CLSCompliant(false)]
public static uint ExtractMostSignificantBits(Vector256<uint> value)

Parameters

value Vector256<uint>

Returns

uint

The packed most significant bits extracted from the elements in vector (从 vector 中各元素中提取的最高有效位的紧缩值).

See Also

ExtractMostSignificantBits(Vector256<long>)

Extracts the most significant bit from each element in a vector (从向量的每个元素中提取最高有效位). Mnemonic: rt |= getMostSignificantBit(vector[i]) << i = ( vector[i] >>> (sizeof(T)*8-1) ) << i.

[CLSCompliant(false)]
public static uint ExtractMostSignificantBits(Vector256<long> value)

Parameters

value Vector256<long>

Returns

uint

The packed most significant bits extracted from the elements in vector (从 vector 中各元素中提取的最高有效位的紧缩值).

See Also

ExtractMostSignificantBits(Vector256<ulong>)

Extracts the most significant bit from each element in a vector (从向量的每个元素中提取最高有效位). Mnemonic: rt |= getMostSignificantBit(vector[i]) << i = ( vector[i] >>> (sizeof(T)*8-1) ) << i.

[CLSCompliant(false)]
public static uint ExtractMostSignificantBits(Vector256<ulong> value)

Parameters

value Vector256<ulong>

Returns

uint

The packed most significant bits extracted from the elements in vector (从 vector 中各元素中提取的最高有效位的紧缩值).

See Also