Table of Contents

Method ExtractMostSignificantBits

Namespace
Zyl.ExSpans.Impl
Assembly
ExSpans.dll

ExtractMostSignificantBits<T>(Vector128<T>)

Extracts the most significant bit from each element in a vector.

[CLSCompliant(false)]
public static uint ExtractMostSignificantBits<T>(Vector128<T> vector)

Parameters

vector Vector128<T>

The vector whose elements should have their most significant bit extracted.

Returns

uint

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.