Method ExtractMostSignificantBits
- Namespace
- Zyl.VectorTraits.Impl
- 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
.
uint ExtractMostSignificantBits(Vector128<float> vector)
Parameters
vector
Vector128<float>The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).
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
.
uint ExtractMostSignificantBits(Vector128<double> vector)
Parameters
vector
Vector128<double>The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).
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
.
uint ExtractMostSignificantBits(Vector128<sbyte> vector)
Parameters
vector
Vector128<sbyte>The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).
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
.
uint ExtractMostSignificantBits(Vector128<byte> vector)
Parameters
vector
Vector128<byte>The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).
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
.
uint ExtractMostSignificantBits(Vector128<short> vector)
Parameters
vector
Vector128<short>The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).
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
.
uint ExtractMostSignificantBits(Vector128<ushort> vector)
Parameters
vector
Vector128<ushort>The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).
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
.
uint ExtractMostSignificantBits(Vector128<int> vector)
Parameters
vector
Vector128<int>The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).
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
.
uint ExtractMostSignificantBits(Vector128<uint> vector)
Parameters
vector
Vector128<uint>The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).
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
.
uint ExtractMostSignificantBits(Vector128<long> vector)
Parameters
vector
Vector128<long>The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).
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
.
uint ExtractMostSignificantBits(Vector128<ulong> vector)
Parameters
vector
Vector128<ulong>The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).
Returns
- uint
The packed most significant bits extracted from the elements in
vector
(从vector
中各元素中提取的最高有效位的紧缩值).
- See Also