_finite

Determines whether given double-precision floating point value is finite.

int _finite( double x );

Function Required Header Compatibility
_finite <float.h> Win 95, Win NT

For additional compatibility information, see Compatibility in the Introduction.

Libraries

LIBC.LIB Single thread static library, retail version
LIBCMT.LIB Multithread static library, retail version
MSVCRT.LIB Import library for MSVCRT.DLL, retail version

Return Value

_finite returns a nonzero value (TRUE) if its argument x is not infinite, that is, if –INF < x < +INF. It returns 0 (FALSE) if the argument is infinite or a NaN.

Parameter

x

Double-precision floating-point value

Floating-Point Support Routines

See Also   _isnan, _fpclass