BloombergLP::bdldfp::DecimalImpUtil::makeDecimalRaw128

makeDecimalRaw128 overloads

Synopses

Declared in <bdldfp_decimalimputil.h>

Construct a raw 128-bit decimal value from the specified significand and exponent.

static
DecimalImpUtil::ValueType128
makeDecimalRaw128(
    int significand,
    int exponent);
» more...

Construct a raw 128-bit decimal value from the specified significand and exponent.

static
DecimalImpUtil::ValueType128
makeDecimalRaw128(
    long long significand,
    int exponent);
» more...

Construct a raw 128-bit decimal value from the specified significand and exponent.

static
DecimalImpUtil::ValueType128
makeDecimalRaw128(
    unsigned int significand,
    int exponent);
» more...

Create a ValueType128 object representing a decimal floating point number consisting of the specified significand and exponent, with the sign given by significand. The behavior is undefined unless -6176 <= exponent <= 6111.

static
DecimalImpUtil::ValueType128
makeDecimalRaw128(
    unsigned long long significand,
    int exponent);
» more...