UInt64.Max(UInt64, UInt64) Méthode
Définition
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::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
Paramètres
- x
- UInt64
Valeur à comparer avec y.
- y
- UInt64
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à .