Vector128.MinNumber<T>(Vector128<T>, Vector128<T>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
以每個元素比較兩個向量,計算哪個較小,若元素為 NaN則返回另一個值。
public:
generic <typename T>
static System::Runtime::Intrinsics::Vector128<T> MinNumber(System::Runtime::Intrinsics::Vector128<T> left, System::Runtime::Intrinsics::Vector128<T> right);
public static System.Runtime.Intrinsics.Vector128<T> MinNumber<T>(System.Runtime.Intrinsics.Vector128<T> left, System.Runtime.Intrinsics.Vector128<T> right);
static member MinNumber : System.Runtime.Intrinsics.Vector128<'T> * System.Runtime.Intrinsics.Vector128<'T> -> System.Runtime.Intrinsics.Vector128<'T>
Public Function MinNumber(Of T) (left As Vector128(Of T), right As Vector128(Of T)) As Vector128(Of T)
類型參數
- T
向量中專案的型別。
參數
- left
- Vector128<T>
要與 比較 right的向量。
- right
- Vector128<T>
要與 比較 left的向量。
傳回
若該left元素小於;則為該向right量;否則。 right
例外狀況
向量T中元素的類型不被支援。
備註
此 IFloatingPoint<TSelf> 方法符合 IEEE 754:2019 minimumNumber 函數。 這要求 NaN 輸入不能傳回呼叫者,且 -0.0 必須被視為小 +0.0於 。