isfinite函数
C ++ isfinite()函数 (C++ isfinite() function)
isfinite() function is a library function of cmath header, it is used to check whether the given value is a finite value or not? It accepts a value (float, double or long double) and returns 1 if the value is finite; 0, otherwise.
isfinite()函数是cmath标头的库函数,用于检查给定值是否为有限值? 它接受一个值( float , double或long double ),如果该值是有限的,则返回1;否则,返回1。 0,否则。
Syntax of isfinite() function:
isfinite()函数的语法:
In C99, it has been implemented as a macro,
在C99中,它已实现为宏,