Vector256.ExtractMostSignificantBits<T>(Vector256<T>) Method

Definition

Important

This API is not CLS-compliant.

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

public:
generic <typename T>
 where T : value class[System::Runtime::CompilerServices::Extension]
 static System::UInt32 ExtractMostSignificantBits(System::Runtime::Intrinsics::Vector256<T> vector);
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::UInt32 ExtractMostSignificantBits(System::Runtime::Intrinsics::Vector256<T> vector);
[System.CLSCompliant(false)]
public static uint ExtractMostSignificantBits<T> (this System.Runtime.Intrinsics.Vector256<T> vector) where T : struct;
[System.CLSCompliant(false)]
public static uint ExtractMostSignificantBits<T> (this System.Runtime.Intrinsics.Vector256<T> vector);
[<System.CLSCompliant(false)>]
static member ExtractMostSignificantBits : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> -> uint32 (requires 'T : struct)
[<System.CLSCompliant(false)>]
static member ExtractMostSignificantBits : System.Runtime.Intrinsics.Vector256<'T> -> uint32
<Extension()>
Public Function ExtractMostSignificantBits(Of T As Structure) (vector As Vector256(Of T)) As UInteger
<Extension()>
Public Function ExtractMostSignificantBits(Of T) (vector As Vector256(Of T)) As UInteger

Type Parameters

T

The type of the elements in the vector.

Parameters

vector
Vector256<T>

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

Returns

The packed most significant bits extracted from the elements in vector.

Attributes

Exceptions

The type of vector (T) is not supported.

Applies to