BloombergLP::bdldfp::DecimalImpUtil::makeDecimal64

makeDecimal64 overloads

Synopses

Declared in <bdldfp_decimalimputil.h>

Return a Decimal64 object that has the specified significand and exponent, rounded according to the current decimal rounding mode, if necessary. If an overflow condition occurs, store the value of the macro ERANGE into errno and return infinity with the appropriate sign.

static
ValueType64
makeDecimal64(
    int significand,
    int exponent);
» more...

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

static
ValueType64
makeDecimal64(
    long long significand,
    int exponent);
» more...

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

static
ValueType64
makeDecimal64(
    unsigned int significand,
    int exponent);
» more...

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

static
ValueType64
makeDecimal64(
    unsigned long long significand,
    int exponent);
» more...