Multiply a decimal value by ten raised to an exponent.
Declared in <bdldfp_decimalimputil_inteldfp.h>
static
DecimalImpUtil_IntelDfp::ValueType32
scaleB(
ValueType32 value,
int exponent);
Return the result of multiplying the specified value by ten raised to the specified exponent. The quantum of value is scaled according to IEEE 754's scaleB operations. The result is unspecified if value is NaN or infinity.
value scaled by 10 raised to exponent
| Name | Description |
|---|---|
| value | decimal value to scale |
| exponent | power of ten applied to value |