isinf

#include <math.h>

int isinf ( double x );

Return Value

isinf returns 1 if the argument x is either positive or negative infinity, otherwise 0.

Parameters

x Floating-point value

Remarks