Edit

Share via


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

Definition

Determines which elements in a vector are zero.

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

Applies to