NFloat.MinNumber(NFloat, NFloat) Méthode

Définition

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

public:
 static System::Runtime::InteropServices::NFloat MinNumber(System::Runtime::InteropServices::NFloat x, System::Runtime::InteropServices::NFloat y) = System::Numerics::INumber<System::Runtime::InteropServices::NFloat>::MinNumber;
public static System.Runtime.InteropServices.NFloat MinNumber (System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y);
static member MinNumber : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function MinNumber (x As NFloat, y As NFloat) As NFloat

Paramètres

x
NFloat

Valeur à comparer avec y.

y
NFloat

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 minimumNumber . Cela nécessite que les entrées NaN ne soient pas propagées à l’appelant et -0.0 qu’elles soient traitées comme inférieures +0.0à .

S’applique à