Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


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

int _finite( 
   double x 


Double-precision floating-point value.

Return Value

_finite returns a nonzero value if its argument x is not infinite, that is, if –INF < x < +INF. It returns 0 if the argument is infinite or a NAN.


Function Required header Compatibility
_finite <float.h> Win 98, Win Me, Win NT, Win 2000, Win XP

For additional compatibility information, see Compatibility in the Introduction.


All versions of the C run-time libraries.

See Also

Floating-Point Support Routines | _isnan | _fpclass | Run-Time Routines and .NET Framework Equivalents

© 2015 Microsoft