BloombergLP::bdldfp::DecimalImpUtil::scaleB

Return value multiplied by ten raised to exponent.

Synopses

Declared in <bdldfp_decimalimputil.h>

Return value multiplied by ten raised to exponent.

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

Return value multiplied by ten raised to exponent.

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

Return value multiplied by ten raised to exponent.

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

Return Value

value multiplied by ten raised to exponent

Parameters

NameDescription
valuevalue to scale
exponentpower of ten applied to value