Szerkesztés

Megosztás a következőn keresztül:


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

Type Parameters

T

The type of the elements in the vector.

Parameters

vector
Vector128<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