Redigera

Dela via


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

Definition

Determines which elements in a vector represents positive real numbers.

public:
generic <typename T>
 static System::Runtime::Intrinsics::Vector128<T> IsPositive(System::Runtime::Intrinsics::Vector128<T> vector);
public static System.Runtime.Intrinsics.Vector128<T> IsPositive<T> (System.Runtime.Intrinsics.Vector128<T> vector);
static member IsPositive : System.Runtime.Intrinsics.Vector128<'T> -> System.Runtime.Intrinsics.Vector128<'T>
Public Function IsPositive(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 positive.

Applies to