Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
div
eof
Expand Minimize
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.

_fpclass 

Returns the status word containing information about the floating-point class.


int _fpclass( 
   double x 
);

Parameters

x

Double-precision floating-point value.

_fpclass returns an integer value that indicates the floating-point class of its argument x. The status word might have one of the following values, defined in Float.h.

Value Description

_FPCLASS_SNAN

Signaling NaN

_FPCLASS_QNAN

Quiet NaN

_FPCLASS_NINF

Negative infinity ( –INF)

_FPCLASS_NN

Negative normalized non-zero

_FPCLASS_ND

Negative denormalized

_FPCLASS_NZ

Negative zero ( – 0)

_FPCLASS_PZ

Positive 0 (+0)

_FPCLASS_PD

Positive denormalized

_FPCLASS_PN

Positive normalized non-zero

_FPCLASS_PINF

Positive infinity (+INF)

Function Required header Compatibility

_fpclass

<float.h>

Windows 95, Windows 98, Windows 98 Second Edition, Windows Millennium Edition, Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003

For more compatibility information, see Compatibility in the Introduction.

Community Additions

ADD
Show:
© 2015 Microsoft