Method ExtractMostSignificantBits
ExtractMostSignificantBits<T>(Vector<T>)
Extracts the most significant bit from each element in a vector.
[CLSCompliant(false)]
public static ulong ExtractMostSignificantBits<T>(this Vector<T> vector) where T : struct
Parameters
vector
Vector<T>The vector whose elements should have their most significant bit extracted.
Returns
- ulong
The packed most significant bits extracted from the elements in vector.
Type Parameters
T
The type of the elements in the vector.
Exceptions
- NotSupportedException
The type of vector (
T
) is not supported.