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

Definition

Determines which elements in a vector represents negative real numbers.

C#
public static System.Runtime.Intrinsics.Vector512<T> IsNegative<T>(System.Runtime.Intrinsics.Vector512<T> vector);

Type Parameters

T

Parameters

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

Product Versions
.NET 9, 10