Redigera

Dela via


Vector128.IsNegative<T>(Vector128<T>) Method

Definition

Determines which elements in a vector represents negative real numbers.

public:
generic <typename T>
 static System::Runtime::Intrinsics::Vector128<T> IsNegative(System::Runtime::Intrinsics::Vector128<T> vector);
public static System.Runtime.Intrinsics.Vector128<T> IsNegative<T> (System.Runtime.Intrinsics.Vector128<T> vector);
static member IsNegative : System.Runtime.Intrinsics.Vector128<'T> -> System.Runtime.Intrinsics.Vector128<'T>
Public Function IsNegative(Of T) (vector As Vector128(Of T)) As Vector128(Of T)

Type Parameters

T

Parameters

vector
Vector128<T>

The vector to be checked.

Returns

A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in vector were negative.

Applies to