System::IsInfinity 方法

System::IsInfinity method

确定指定的值是否表示无穷大。

template<typename T> bool System::IsInfinity(const T &value)
参数描述
T函数检查的值的类型
参数类型描述
const T&要检查的值

ReturnValue

如果 value 表示无穷大则为 true,否则为 false

另见