Redigera

Dela via


Vector64.IsFinite<T>(Vector64<T>) Method

Definition

Determines which elements in a vector are finite.

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

Type Parameters

T

The type of the elements in the vector.

Parameters

vector
Vector64<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 finite.

Remarks

This function returning zero for a corresponding element does not imply that IsInfinity will return all-bits-set for that element. NaN is not finite nor infinite.

Applies to