Query: finite
OS: redhat
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ISINF(3) Linux Programmer's Manual ISINF(3)NAMEisinf, isnan, finite - test for infinity or not-a-number (NaN)SYNOPSIS#include <math.h> int isinf(double value); int isnan(double value); int finite(double value);DESCRIPTIONThe isinf() function returns -1 if value represents negative infinity, 1 if value represents positive infinity, and 0 otherwise. The isnan() function returns a non-zero value if value is "not-a-number" (NaN), and 0 otherwise. The finite() function returns a non-zero value if value is neither infinite nor a "not-a-number" (NaN) value, and 0 otherwise.CONFORMING TOBSD 4.3GNU1993-06-02 ISINF(3)