[#BloombergLP-bdldfp-DecimalUtil-decompose-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalUtil.adoc[DecimalUtil]::decompose :relfileprefix: ../../../ :mrdocs: `decompose` overloads == Synopses Declared in `<bdldfp_decimalutil.h>` Same as the related overload above for `decompose`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdldfp/DecimalUtil/decompose-086.adoc[decompose]( int* sign, xref:BloombergLP/bdldfp/Uint128.adoc[Uint128]* significand, int* exponent, xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] value); ---- [.small]#xref:BloombergLP/bdldfp/DecimalUtil/decompose-086.adoc[_» more..._]# Same as the overload taking `Decimal32`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdldfp/DecimalUtil/decompose-088.adoc[decompose]( int* sign, xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64]* significand, int* exponent, xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] value); ---- [.small]#xref:BloombergLP/bdldfp/DecimalUtil/decompose-088.adoc[_» more..._]# Decompose the specified decimal `value` into the components of the decimal floating‐point format and load the result into the specified `sign`, `significand` and `exponent` such that `value` is equal to `sign * significand * (10 ** exponent)`. The special values infinity and NaNs are decomposed to `sign`, `exponent` and `significand` parts, even though they don't have their normal meaning (except `sign`). That is those specific values cannot be restored using these parts, unlike the finite ones. Return the integer value that represents the floating point classification of the specified `value` as follows: [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdldfp/DecimalUtil/decompose-03.adoc[decompose]( int* sign, unsigned int* significand, int* exponent, xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] value); ---- [.small]#xref:BloombergLP/bdldfp/DecimalUtil/decompose-03.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#