NFloat.MinMagnitude(NFloat, NFloat) Metodo

Definizione

Confronta due valori per calcolare che è minore.

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

Parametri

x
NFloat

Valore da confrontare con y.

y
NFloat

Valore da confrontare con x.

Restituisce

x se è minore di y; in caso contrario, y.

Implementazioni

Commenti

Per IFloatingPointIeee754<TSelf>, questo metodo corrisponde alla funzione IEEE 754:2019 minimumMagnitude . Ciò richiede che gli input NaN non vengano propagati nuovamente al chiamante e per -0.0 essere trattati come meno di +0.0.

Si applica a