UInt32.Min(UInt32, UInt32) 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 é menor.
public:
static System::UInt32 Min(System::UInt32 x, System::UInt32 y) = System::Numerics::INumber<System::UInt32>::Min;
public static uint Min(uint x, uint y);
static member Min : uint32 * uint32 -> uint32
Public Shared Function Min (x As UInteger, y As UInteger) As UInteger
Parâmetros
- x
- UInt32
O valor a comparar com y.
- y
- UInt32
O valor a comparar com x.
Devoluções
x se for menor que y; caso contrário, y.
Implementações
Observações
Para IFloatingPoint<TSelf> este método corresponde à função IEEE 754:2019 minimum . Isto exige que as entradas NaN sejam propagadas de volta para o chamador e que -0.0 sejam tratadas como inferiores a +0.0.