Int32.MinMagnitude(Int32, Int32) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
두 값을 더 작은 컴퓨팅과 비교합니다.
public:
static int MinMagnitude(int x, int y) = System::Numerics::INumberBase<int>::MinMagnitude;
public static int MinMagnitude(int x, int y);
static member MinMagnitude : int * int -> int
Public Shared Function MinMagnitude (x As Integer, y As Integer) As Integer
매개 변수
- x
- Int32
와 비교할 값입니다 y.
- y
- Int32
와 비교할 값입니다 x.
반환
x 보다 y작으면 이고, y그렇지 않으면 입니다.
구현
설명
이 메서드의 경우 IFloatingPointIeee754<TSelf> IEEE 754:2019 minimumMagnitude 함수와 일치합니다. 이렇게 하려면 NaN 입력이 호출자에게 -0.0 다시 전파되지 않고 보다 작 +0.0게 처리되어야 합니다.