finite(3) redhat man page | unix.com

Man Page: finite

Operating Environment: redhat

Section: 3

ISINF(3)						     Linux Programmer's Manual							  ISINF(3)

NAME
isinf, 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);
DESCRIPTION
The 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 TO
BSD 4.3
GNU
1993-06-02 ISINF(3)
Related Man Pages
finite(3) - linux
isinff(3) - linux
finite(3) - debian
finitel(3) - debian
isinfl(3) - debian
Similar Topics in the Unix Linux Community
Which is more efficient - sleep or infinite while?
Running a script in INFINITE LOOP
Infinite for loop is taking too much CPU usage %
My for loop decides to become an infinite loop?
Is it a joke or a command?