UInt16.Min(UInt16, UInt16) Méthode

Définition

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

public:
 static System::UInt16 Min(System::UInt16 x, System::UInt16 y) = System::Numerics::INumber<System::UInt16>::Min;
public static ushort Min(ushort x, ushort y);
static member Min : uint16 * uint16 -> uint16
Public Shared Function Min (x As UShort, y As UShort) As UShort

Paramètres

x
UInt16

Valeur à comparer avec y.

y
UInt16

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 à