UIntPtr.INumber<UIntPtr>.MaxNumber(UIntPtr, UIntPtr) Méthode

Définition

Compare deux valeurs pour calculer ce qui est supérieur et renvoyer l’autre valeur si une entrée est NaN.

 static UIntPtr System.Numerics.INumber<nuint>.MaxNumber(UIntPtr x, UIntPtr y) = System::Numerics::INumber<UIntPtr>::MaxNumber;
static UIntPtr INumber<UIntPtr>.MaxNumber (UIntPtr x, UIntPtr y);
static member System.Numerics.INumber<nuint>.MaxNumber : unativeint * unativeint -> unativeint
 Shared Function MaxNumber (x As UIntPtr, y As UIntPtr) As UIntPtr Implements INumber(Of UIntPtr).MaxNumber

Paramètres

x
UIntPtr

unativeint

Valeur à comparer avec y.

y
UIntPtr

unativeint

Valeur à comparer avec x.

Retours

UIntPtr

unativeint

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

Implémente

S’applique à