UInt32.Max(UInt32, UInt32) Yöntem

Tanım

daha büyük olan iki değeri işlemle karşılaştırır.

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

Parametreler

x
UInt32

ile ykarşılaştıracak değer.

y
UInt32

ile xkarşılaştıracak değer.

Döndürülenler

x değerinden ybüyükse; değilse, y.

Uygulamalar

Açıklamalar

Bu yöntem için IFloatingPoint<TSelf> IEEE 754:2019 maximum işleviyle eşleşir. Bunun için NaN girişlerinin çağırana geri yayılması ve -0.0 değerinden +0.0küçük olarak ele alınması gerekir.

Şunlara uygulanır