Same as the related overload above for decompose.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
int
decompose(
    int* sign,
    Uint128* significand,
    int* exponent,
    Decimal128 value);

Return Value

floating‐point classification of value

Parameters

Name

Description

sign

receives +1 or ‐1 for the sign

significand

receives the significand

exponent

receives the decimal exponent

value

decimal value to decompose

Created with MrDocs