UInt32.Max(UInt32, UInt32) Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
- x
- UInt32
Valeur à comparer à y
.
- y
- UInt32
Valeur à comparer à x
.
x
s’il est supérieur à y
; sinon, y
.
Pour IFloatingPoint<TSelf> cette méthode correspond à la fonction IEEE 754:2019 maximum
. Pour cela, les entrées NaN doivent être propagées à l’appelant et -0.0
traitées comme inférieures +0.0
à .
Produit | Versions |
---|---|
.NET | 7, 8, 9, 10 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :