UIntPtr.Max(UIntPtr, UIntPtr) Método

Definição

Compara dois valores para calcular qual é maior.

public:
 static UIntPtr Max(UIntPtr x, UIntPtr y) = System::Numerics::INumber<UIntPtr>::Max;
public static UIntPtr Max(UIntPtr x, UIntPtr y);
static member Max : unativeint * unativeint -> unativeint
Public Shared Function Max (x As UIntPtr, y As UIntPtr) As UIntPtr

Parâmetros

x
UIntPtr

unativeint

O valor a comparar com y.

y
UIntPtr

unativeint

O valor a comparar com x.

Devoluções

UIntPtr

unativeint

x se for maior que y; caso contrário, y.

Implementações

Observações

Para IFloatingPoint<TSelf> este método corresponde à função IEEE 754:2019 maximum . 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