NFloat.MaxNative(NFloat, NFloat) 方法

定义

比较两个值与使用特定于平台的行为 NaNNegativeZero更大的计算值。

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

参数

x
NFloat

要与 y.. 进行比较的值。

y
NFloat

要与 x.. 进行比较的值。

返回

x 如果大于 y,则为 ;否则为 y

实现

适用于