BloombergLP::bdldfp::DecimalUtil::makeDecimal64

Same as the overload taking int.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
Decimal64
makeDecimal64(
    unsigned long long significand,
    int exponent);

Return Value

Decimal64 value with the specified significand and exponent

Parameters

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