Vector128.IsOddInteger<T>(Vector128<T>) メソッド

定義

ベクトル内のどの要素が奇数の整数値であるかを決定します。

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

型パラメーター

T

ベクター内の要素の型。

パラメーター

vector
Vector128<T>

チェックするベクター。

返品

vector内の対応する要素が奇数の整数値であったかどうかに応じて、要素が全ビットセットまたはゼロであるベクトル。

注釈

このメソッドは浮動小数点値を正しく処理するため、 3.0 は対応する要素の all-bits-set を返しますが、 3.3zeroを返します。

このメソッドが対応する要素の zero を返す場合、 IsEvenInteger はその要素の all-bits-set を返すという意味にはなりません。 小数部を持つ数値 (たとえば、 3.3) は偶数でも奇数でもありません。

適用対象