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

定義

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

public:
 static System::UInt32 Max(System::UInt32 x, System::UInt32 y) = System::Numerics::INumber<System::UInt32>::Max;
public static uint Max (uint x, uint y);
static member Max : uint32 * uint32 -> uint32
Public Shared Function Max (x As UInteger, y As UInteger) As UInteger

パラメーター

x
UInt32

y比較する値。

y
UInt32

x比較する値。

戻り値

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

実装

注釈

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

適用対象