Compartir a través de


_fpclass (Windows CE 5.0)

Send Feedback

Developing an Application > Microsoft C Run-time Library for Windows CE > Run-time Library Reference

Returns status word containing information on floating-point class.

int _fpclass(    doublex);

Parameters

  • x
    Double-precision floating-point value.

Libraries

All versions of the C run-time libraries.

Return Values

_fpclass returns an integer value that indicates the floating-point class of its argument x.

The status word can have one of the following values, defined in Float.h.

Value Meaning
_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)

Requirements

OS Versions: Windows CE 2.0 and later.
Header: stdlib.h.
Link Library: coredll.dll.

See Also

_isnan

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.