UInt32.Max(UInt32, UInt32) Méthode

Définition

Compare deux valeurs au calcul, ce qui est supérieur.

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

Paramètres

x
UInt32

Valeur à comparer avec y.

y
UInt32

Valeur à comparer avec x.

Retours

x s’il est supérieur yà ; sinon, y.

Implémente

Remarques

Pour IFloatingPoint<TSelf> cette méthode correspond à la fonction IEEE 754:2019 maximum . Cela nécessite que les entrées NaN soient propagées à l’appelant et qu’elles -0.0 soient traitées comme inférieures +0.0à .

S’applique à