[Contents] [Previous Section] [Next Section] [Index]


finite-Check for Finite Value

Interface

int finite (F_TYPE x)

Description

finite() returns the integer value 1 (true) or 0 (false).

finite(x) = 1 when -infinity < x < +infinity.

finite(x) = 0 when |x| = infinity or x is a NaN.

Exceptions

None.