NFloat.Min(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 Min(System::Runtime::InteropServices::NFloat x, System::Runtime::InteropServices::NFloat y) = System::Numerics::INumber<System::Runtime::InteropServices::NFloat>::Min;
public static System.Runtime.InteropServices.NFloat Min (System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y);
static member Min : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function Min (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 IFloatingPoint<TSelf>bu yöntem, IEEE 754:2019 minimum işleviyle eşleşir. Bunun için -0.0 NaN girişlerinin çağırana geri yayılması ve değerinden küçük +0.0olarak kabul edilmesi gerekir.

Şunlara uygulanır