IntPtr.Min(IntPtr, IntPtr) Método

Definição

Compara dois valores para calcular qual é menor.

public:
 static IntPtr Min(IntPtr x, IntPtr y) = System::Numerics::INumber<IntPtr>::Min;
public static IntPtr Min(IntPtr x, IntPtr y);
static member Min : nativeint * nativeint -> nativeint
Public Shared Function Min (x As IntPtr, y As IntPtr) As IntPtr

Parâmetros

x
IntPtr

nativeint

O valor a comparar com y.

y
IntPtr

nativeint

O valor a comparar com x.

Devoluções

IntPtr

nativeint

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