NFloat.MinNumber(NFloat, NFloat) 메서드

정의

두 값을 더 작은 컴퓨팅과 비교하고 입력이 인 경우 다른 값을 반환합니다 NaN.

public:
 static System::Runtime::InteropServices::NFloat MinNumber(System::Runtime::InteropServices::NFloat x, System::Runtime::InteropServices::NFloat y) = System::Numerics::INumber<System::Runtime::InteropServices::NFloat>::MinNumber;
public static System.Runtime.InteropServices.NFloat MinNumber (System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y);
static member MinNumber : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function MinNumber (x As NFloat, y As NFloat) As NFloat

매개 변수

x
NFloat

와 비교할 값입니다 y.

y
NFloat

와 비교할 값입니다 x.

반환

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

구현

설명

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

적용 대상