NFloat.IsInfinity(NFloat) 方法

定义

确定指定的值是无限 (正无穷大还是负无穷大) 。

public:
 static bool IsInfinity(System::Runtime::InteropServices::NFloat value) = System::Numerics::INumberBase<System::Runtime::InteropServices::NFloat>::IsInfinity;
public static bool IsInfinity (System.Runtime.InteropServices.NFloat value);
static member IsInfinity : System.Runtime.InteropServices.NFloat -> bool
Public Shared Function IsInfinity (value As NFloat) As Boolean

参数

value
NFloat

浮点值。

返回

true 如果值为无限 (正或负无穷大) ; false 否则。

实现

适用于