Defined in header <math.h> float ldexpf( float arg, int exp ); (1) (since C99) double ldexp( double arg, int exp ); (2) long double ldexpl( long double arg, int exp ); (3) (since C99) Defined in header <tgmath.h> #define ldexp( arg, exp ) (4) (since C99)
1-3) Multiplies a floating point value arg by the number 2 raised to the exp power.
4) Type-generic macro: If arg has type long double, ldexpl is called. Otherwise, if arg has int