NFloat.MinMagnitude(NFloat, NFloat) Yöntem

Tanım

daha küçük olan iki değeri işlemle karşılaştırır.

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

Parametreler

x
NFloat

ile ykarşılaştıracak değer.

y
NFloat

ile xkarşılaştıracak değer.

Döndürülenler

x değerinden yküçükse; değilse, y.

Uygulamalar

Açıklamalar

için IFloatingPointIeee754<TSelf>, bu yöntem IEEE 754:2019 minimumMagnitude işleviyle eşleşir. Bu, NaN girişlerinin çağırana geri yayılmasını ve -0.0 değerinden +0.0küçük olarak değerlendirilmesini gerektirir.

Şunlara uygulanır