|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Returns status word containing information on floating-point class.
int _fpclass( double x );
- Double-precision floating-point value.
_fpclass returns an integer value that indicates the floating-point class of its argument x. The status word may have one of the following values, defined in FLOAT.H.
|_FPCLASS_NINF||Negative infinity ( –INF)|
|_FPCLASS_NN||Negative normalized non-zero|
|_FPCLASS_NZ||Negative zero ( – 0)|
|_FPCLASS_PZ||Positive 0 (+0)|
|_FPCLASS_PN||Positive normalized non-zero|
|_FPCLASS_PINF||Positive infinity (+INF)|
|_fpclass||<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.