5.4.18. Scale a number by a power of two (scalb, scalbn)

double scalb(double x, double n);
double scalbn(double x, int n);

These functions return x times two to the power n. The difference between the functions is whether n is passed in as an int or as a double.

scalb is the same function as the Scalb function described in the IEEE 754 Appendix. Its behavior when n is not an integer is undefined.

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI 0067D