BloombergLP::bdldfp::DecimalImpUtil_IntelDfp::scaleB

scaleB overloads

Synopses

Declared in <bdldfp_decimalimputil_inteldfp.h>

Multiply a decimal value by ten raised to an exponent.

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

Multiply a decimal value by ten raised to an exponent.

static
DecimalImpUtil_IntelDfp::ValueType32
scaleB(
    ValueType32 value,
    int exponent);
» more...

Multiply a decimal value by ten raised to an exponent.

static
DecimalImpUtil_IntelDfp::ValueType64
scaleB(
    ValueType64 value,
    int exponent);
» more...

Return Value

value scaled by 10 raised to exponent

Parameters

NameDescription
valuedecimal value to scale
exponentpower of ten applied to value