NFloat.Max(NFloat, NFloat) Méthode

Définition

Compare deux valeurs au calcul qui est supérieur.

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

Paramètres

x
NFloat
y
NFloat

Retours

NFloat

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

Implémente

Remarques

Pour IFloatingPoint<TSelf>, cette méthode correspond à la fonction IEEE 754:2019 maximum . Cela nécessite que les entrées NaN soient propagées à l’appelant et -0.0 qu’elles soient traitées comme inférieures +0.0à .

S’applique à