BloombergLP::bdldfp::DecimalUtil::makeDecimalRaw128

makeDecimalRaw128 overloads

Synopses

Declared in <bdldfp_decimalutil.h>

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

static
Decimal128
makeDecimalRaw128(
    int significand,
    int exponent);
» more...

Set the value of this object to be a "DecimalRaw128" value. Optionally specify the value of the "DecimalRaw128".

static
Decimal128
makeDecimalRaw128(
    long long significand,
    int exponent);
» more...

Set the value of this object to be a "DecimalRaw128" value. Optionally specify the value of the "DecimalRaw128".

static
Decimal128
makeDecimalRaw128(
    unsigned int significand,
    int exponent);
» more...

Set the value of this object to be a "DecimalRaw128" value. Optionally specify the value of the "DecimalRaw128".

static
Decimal128
makeDecimalRaw128(
    unsigned long long significand,
    int exponent);
» more...