Vector64.IsInteger<T>(Vector64<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines which elements in a vector are integral values.
public:
generic <typename T>
static System::Runtime::Intrinsics::Vector64<T> IsInteger(System::Runtime::Intrinsics::Vector64<T> vector);
public static System.Runtime.Intrinsics.Vector64<T> IsInteger<T>(System.Runtime.Intrinsics.Vector64<T> vector);
static member IsInteger : System.Runtime.Intrinsics.Vector64<'T> -> System.Runtime.Intrinsics.Vector64<'T>
Public Function IsInteger(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 integral values.
Remarks
This correctly handles floating-point values and so 2.0 and 3.0 will return all-bits-set for a corresponding element while 2.2 and 3.3 will return zero.