4.129.80 int isinf

int isinf(double __x)

The function isinf() returns 1 if the argument __x is positive infinity, -1 if __x is negative infinity, and 0 otherwise.

Note:

The GCC 4.3 can replace this function with inline code that returns the 1 value for both infinities (gcc bug #35509).