finitef

Name

finitef -- test for infinity (DEPRECATED)

Synopsis

#define _SVID_SOURCE
#include <math.h>

int finitef(float arg);

Description

The finitef() function shall test whether its argument is neither INFINITY nor not a number (NaN).

Returns

On success, finitef() shall return 1. Otherwise the function shall return 0.

Note: The ISO C (1999) standard defines the function isfinite(), which is more general purpose. The finitef() function is deprecated, and applications should use isfinite() instead. A future revision of this standard may remove this function.

See Also

isfinite(), finite(), finitel()