[#BloombergLP-bdldfp-DecimalImpUtil-classify-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil.adoc[DecimalImpUtil]::classify :relfileprefix: ../../../ :mrdocs: Return the integer value that respresents the floating point classification of the specified `x` value as follows: == Synopsis Declared in `<bdldfp_decimalimputil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int classify(xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[ValueType32] x); ---- == Description * if `x` is NaN, return FP_NAN; * otherwise if `x` is positive or negative infinity, return `FP_INFINITE`; * otherwise if `x` is a subnormal value, return `FP_SUBNORMAL` * otherwise if `x` is a zero value, return `FP_ZERO` * otherwise return `FP_NORMAL` Note that the mention `FP_XXX` constants are C99 standard macros and they are defined in the math.h (cmath) standard header. On systems that fail to define those standard macros we define the in this component as public macros. [.small]#Created with https://www.mrdocs.com[MrDocs]#