cc [ flag ... ] file ... -lm [ library ... ] #include <math.h>
The scalbn() function computes x * rn, where r is the radix of the machine's floating point arithmetic.
Upon successful completion, the scalbn() function returns x * rn.
If the correct value would overflow, scalbn() returns +-HUGE_VAL (according to the sign of x).
The scalbn() function returns x when x is +-Inf.
If x is NaN, then scalbn() returns NaN.
See attributes(5) for descriptions of the following attributes:
attributes(5)