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

定義

2 つの値を比較して、より大きいコンピューティングを行います。

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

パラメーター

x
NFloat
y
NFloat

戻り値

NFloat

xそれ以外yの場合は 〘 よりy大きい場合は .

実装

注釈

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

適用対象