[#BloombergLP-bdldfp-DecimalImpUtil-decompose-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil.adoc[DecimalImpUtil]::decompose :relfileprefix: ../../../ :mrdocs: Decompose `value` into sign, significand, and exponent. == Synopsis Declared in `<bdldfp_decimalimputil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int decompose( int* sign, xref:BloombergLP/bdldfp/Uint128.adoc[Uint128]* significand, int* exponent, xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType128.adoc[ValueType128] value); ---- == Return Value the floating‐point classification of `value` == Parameters [cols="1,4"] |=== | Name| Description | *sign* | receives +1 or ‐1 for the sign | *significand* | receives the significand | *exponent* | receives the decimal exponent | *value* | decimal value to decompose |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#