Table of Contents

Method ExtractMostSignificantBits

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

ExtractMostSignificantBits(Vector128<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(Vector128<float> value)

Parameters

value Vector128<float>

Returns

uint

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

See Also

ExtractMostSignificantBits(Vector128<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(Vector128<double> value)

Parameters

value Vector128<double>

Returns

uint

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

See Also

ExtractMostSignificantBits(Vector128<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(Vector128<sbyte> value)

Parameters

value Vector128<sbyte>

Returns

uint

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

See Also

ExtractMostSignificantBits(Vector128<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(Vector128<byte> value)

Parameters

value Vector128<byte>

Returns

uint

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

See Also

ExtractMostSignificantBits(Vector128<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(Vector128<short> value)

Parameters

value Vector128<short>

Returns

uint

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

See Also

ExtractMostSignificantBits(Vector128<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(Vector128<ushort> value)

Parameters

value Vector128<ushort>

Returns

uint

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

See Also

ExtractMostSignificantBits(Vector128<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(Vector128<int> value)

Parameters

value Vector128<int>

Returns

uint

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

See Also

ExtractMostSignificantBits(Vector128<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(Vector128<uint> value)

Parameters

value Vector128<uint>

Returns

uint

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

See Also

ExtractMostSignificantBits(Vector128<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(Vector128<long> value)

Parameters

value Vector128<long>

Returns

uint

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

See Also

ExtractMostSignificantBits(Vector128<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(Vector128<ulong> value)

Parameters

value Vector128<ulong>

Returns

uint

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

See Also