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);

Return value multiplied by ten raised to exponent.

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

Return value multiplied by ten raised to exponent.

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

Return Value

value multiplied by ten raised to exponent

Parameters

Name

Description

value

value to scale

exponent

power of ten applied to value

Created with MrDocs