C Programming on the IBM PC (C Programmers Reference Guide Series)
|
|
ldexp
#include <cmath>float ldexp(float num, int exp);double ldexp(double num, int exp); long double ldexp(long double num, int exp);
The ldexp( ) returns the value of num * 2exp. If overflow occurs, HUGE_VAL is returned.
Related functions are frexp( ) and modf( ).
|
|