BloombergLP::bdldfp::DecimalImpUtil::makeDecimal64

Return a Decimal64 with the given significand and exponent.

Synopsis

Declared in <bdldfp_decimalimputil.h>

static
ValueType64
makeDecimal64(
    long long significand,
    int exponent);

Return Value

a Decimal64 with the given significand and exponent

Parameters

NameDescription
significandcoefficient of the decimal value
exponentpower of ten applied to significand