言語

Single.MinMagnitude(Single, Single) メソッド

定義

2 つの値を比較して計算します。計算の方が少なくなります。

public:
 static float MinMagnitude(float x, float y) = System::Numerics::INumberBase<float>::MinMagnitude;
public static float MinMagnitude(float x, float y);
static member MinMagnitude : single * single -> single
Public Shared Function MinMagnitude (x As Single, y As Single) As Single

パラメーター

x
Single

yと比較する値。

y
Single

xと比較する値。

返品

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

実装

注釈

<cref="T:System.Numerics.IFloatingPointIeee7541> this method matches the IEEE 754:2019 minimumMagnitudefunction. This requires NaN inputs to not be propagated back to the caller and for-0.0to be treated as less than+0.0' を参照してください。

適用対象