NFloat.MaxNative(NFloat, NFloat) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Compara dois valores para calcular qual é maior usando comportamento específico da plataforma para NaN e NegativeZero.
public:
static System::Runtime::InteropServices::NFloat MaxNative(System::Runtime::InteropServices::NFloat x, System::Runtime::InteropServices::NFloat y) = System::Numerics::INumber<System::Runtime::InteropServices::NFloat>::MaxNative;
public static System.Runtime.InteropServices.NFloat MaxNative(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y);
static member MaxNative : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function MaxNative (x As NFloat, y As NFloat) As NFloat
Parâmetros
- x
- NFloat
O valor a comparar com y.
- y
- NFloat
O valor a comparar com x.
Devoluções
x se for maior que y; caso contrário, y.