UInt64.Min(UInt64, UInt64) Método

Definição

Compara dois valores para calcular qual é menor.

public:
 static System::UInt64 Min(System::UInt64 x, System::UInt64 y) = System::Numerics::INumber<System::UInt64>::Min;
public static ulong Min(ulong x, ulong y);
static member Min : uint64 * uint64 -> uint64
Public Shared Function Min (x As ULong, y As ULong) As ULong

Parâmetros

x
UInt64

O valor a comparar com y.

y
UInt64

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.

Aplica-se a