Synopsis
#include <math.h>
int isinf(floating-type x);
Description

isinf determines whether its argument value is an infinity (positive or negative). The determination is based on the type of the argument.

Portability

isinf confirms to ISO/IEC 9899:1999 (C99).