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

定義

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

public:
 static System::UInt64 Max(System::UInt64 x, System::UInt64 y) = System::Numerics::INumber<System::UInt64>::Max;
public static ulong Max (ulong x, ulong y);
static member Max : uint64 * uint64 -> uint64
Public Shared Function Max (x As ULong, y As ULong) As ULong

パラメーター

x
UInt64

y比較する値。

y
UInt64

x比較する値。

戻り値

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

実装

注釈

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

適用対象