BloombergLP::bdldfp::DecimalImpUtil_IntelDfp::scaleB

Multiply a decimal value by ten raised to an exponent.

Synopsis

Declared in <bdldfp_decimalimputil_inteldfp.h>

static
DecimalImpUtil_IntelDfp::ValueType128
scaleB(
    ValueType128 value,
    int exponent);

Return Value

value scaled by 10 raised to exponent

Parameters

NameDescription
valuedecimal value to scale
exponentpower of ten applied to value