FINITE(3) | Library Functions Manual | FINITE(3) |
finite
— returns 1
for finite x, 0 for infinite x and NaNs.
#include
<math.h>
int
finite
(double
x);
The
finite
()
function returns 1 if -infinity < x < +infinity. It returns 0 if x is
±infinity or a NaN.
December 11, 2006 | macOS 15.0 |