#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( ).

C(s)C++ Programmer's Reference
C Programming on the IBM PC (C Programmers Reference Guide Series)
ISBN: 0673462897
EAN: 2147483647
Year: 2002
Pages: 539

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net