Returns the integer value 1 (True) when its argument is a finite number, or 0 (False) if not. This function is supported on OpenVMS Integrity servers and Alpha only. Format #include <math.h> int finite (double x); int finitef (float x); int double finitel (long double x);
1 – Argument
x A real value.
2 – Description
The finite functions return 1 when -Infinity < x < +Infinity. They return 0 when |x| = Infinity, or x is a NaN.