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

定義

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

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

パラメーター

x
NFloat

yと比較する値。

y
NFloat

xと比較する値。

返品

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

実装

注釈

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

適用対象