BloombergLP::bdldfp::DecimalUtil::decompose

Same as the overload taking Decimal32.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
int
decompose(
    int* sign,
    bsls::Types::Uint64* significand,
    int* exponent,
    Decimal64 value);

Return Value

floating-point classification of value

Parameters

NameDescription
signreceives +1 or -1 for the sign
significandreceives the significand
exponentreceives the decimal exponent
valuedecimal value to decompose