BloombergLP::bdldfp::DecimalImpUtil::makeDecimalRaw128

Create a ValueType128 from significand and exponent.

Synopsis

Declared in <bdldfp_decimalimputil.h>

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

Return Value

a ValueType128 from significand and exponent

Parameters

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