Name

ldexp function — Makes floating point from binary fraction and exponent

Synopsis

float ldexp(float frac, int exp)
double ldexp(double frac, int exp)
long double ldexp(long double frac, int exp)

The ldexp function returns a floating-point number that it constructs from a fractional part and an exponent (base 2). The return value is frac × 2exp.