NFloat.Min(NFloat, NFloat) 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 inférieur.
public:
static System::Runtime::InteropServices::NFloat Min(System::Runtime::InteropServices::NFloat x, System::Runtime::InteropServices::NFloat y) = System::Numerics::INumber<System::Runtime::InteropServices::NFloat>::Min;
public static System.Runtime.InteropServices.NFloat Min(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y);
static member Min : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function Min (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 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à .