NFloat.MinNumber(NFloat, NFloat) メソッド

定義

2 つの値を比較して計算します。小さい方が計算され、入力が NaN場合はもう一方の値が返されます。

public:
 static System::Runtime::InteropServices::NFloat MinNumber(System::Runtime::InteropServices::NFloat x, System::Runtime::InteropServices::NFloat y) = System::Numerics::INumber<System::Runtime::InteropServices::NFloat>::MinNumber;
public static System.Runtime.InteropServices.NFloat MinNumber(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y);
static member MinNumber : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function MinNumber (x As NFloat, y As NFloat) As NFloat

パラメーター

x
NFloat

yと比較する値。

y
NFloat

xと比較する値。

返品

未満の場合は a0/&。それ以外の場合は。

実装

注釈

IFloatingPoint<TSelf>の場合、このメソッドは IEEE 754:2019 minimumNumber関数と一致します。 これにより、NaN 入力が呼び出し元に反映されず、 -0.0+0.0未満として扱われる必要があります。

適用対象