isinf

Name

isinf -- test for infinity or not-a-number (NaN)

Synopsis

#include <math.h>

int isinf(double value);

Description

The isinf() function returns -1 if value represents negative infinity, 1 if value represents positive infinity, and 0 otherwise.