[#BloombergLP-bdldfp-DecimalImpUtil-scaleB-0fd] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil.adoc[DecimalImpUtil]::scaleB :relfileprefix: ../../../ :mrdocs: 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. == Synopsis Declared in `<bdldfp_decimalimputil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[DecimalImpUtil::ValueType32] scaleB( xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[ValueType32] value, int exponent); ---- == Description Special value handling: * If `value` is quiet NaN, quiet NaN is returned. * If `value` is signaling NaN, quiet NaN is returned and the value of the macro `EDOM` is stored into `errno`. * If `x` is infinite, then infinity is returned. * If a range error due to overflow occurs, infinity is returned and: the value of the macro `ERANGE` is stored into `errno`. [.small]#Created with https://www.mrdocs.com[MrDocs]#