Vector128.IsInteger<T>(Vector128<T>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
決定向量中哪些元素為整數值。
public:
generic <typename T>
static System::Runtime::Intrinsics::Vector128<T> IsInteger(System::Runtime::Intrinsics::Vector128<T> vector);
public static System.Runtime.Intrinsics.Vector128<T> IsInteger<T>(System.Runtime.Intrinsics.Vector128<T> vector);
static member IsInteger : System.Runtime.Intrinsics.Vector128<'T> -> System.Runtime.Intrinsics.Vector128<'T>
Public Function IsInteger(Of T) (vector As Vector128(Of T)) As Vector128(Of T)
類型參數
- T
向量中專案的型別。
參數
- vector
- Vector128<T>
要檢查的向量。
傳回
一個向量,其元素為全位元集合或零,取決於對 vector 應元素是否為整數值。
備註
此方法正確處理浮點數值,因此 2.0 回傳對應元素,且 2.23.3 回傳 all-bits-setzero。3.0