Int64.Min(Int64, Int64) Méthode

Définition

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

public:
 static long Min(long x, long y) = System::Numerics::INumber<long>::Min;
public static long Min(long x, long y);
static member Min : int64 * int64 -> int64
Public Shared Function Min (x As Long, y As Long) As Long

Paramètres

x
Int64

Valeur à comparer avec y.

y
Int64

Valeur à comparer avec x.

Retours

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

Implémente

Remarques

Pour IFloatingPoint<TSelf> cette méthode correspond à la fonction IEEE 754:2019 minimum . 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 à