IntPtr.Max(IntPtr, IntPtr) 메서드

정의

두 값을 더 큰 컴퓨팅과 비교합니다.

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

매개 변수

x
IntPtr

nativeint

와 비교할 값입니다 y.

y
IntPtr

nativeint

와 비교할 값입니다 x.

반환

IntPtr

nativeint

x 보다 y크면 이고, y그렇지 않으면 입니다.

구현

설명

이 메서드의 경우 IFloatingPoint<TSelf> IEEE 754:2019 maximum 함수와 일치합니다. 이렇게 하려면 NaN 입력을 호출자에게 다시 전파하고 에 대해 -0.0 보다 +0.0작게 처리해야 합니다.

적용 대상