cpp/numeric/math/scalbn

@1-6@ Multiplies a floating point value by flt_radix raised to power. @A,B@ Additional overloads are provided for all integer types, which are treated as.

Return value
If no errors occur, multiplied by flt_radix to the power of  ($num&times;FLT_RADIXexp$) is returned.

If a range error due to overflow occurs, huge_val,, or is returned.

If a range error due to underflow occurs, the correct result (after rounding) is returned.

Error handling
Errors are reported as specified in math_errhandling.

If the implementation supports IEEE floating-point arithmetic (IEC 60559),
 * Unless a range error occurs, fe_inexact is never raised (the result is exact)
 * Unless a range error occurs, the current rounding mode is ignored
 * If is ±0, it is returned, unmodified
 * If is ±∞, it is returned, unmodified
 * If is 0, then  is returned, unmodified
 * If is NaN, NaN is returned