Visual Studio 6.0

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.


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.



Double-precision floating-point value

Floating-Point Support Routines

See Also   _isnan, _fpclass

© 2015 Microsoft