ldexp() and ldexpf()

Syntax
  #include <math.h>

  
  double ldexp (double x, int exp);

  
  float  ldexpf(float x, int exp);

  
Description

ldexp() multiplies x by 2exp.

Return

x * 2exp. If this function fails because the result is too large, both ldexp() and ledxpf() return HUGE_VAL and set errno to ERANGE.

See also

exp() and expf()

frexp() and frexpf()

log() and logf()

log10() and log10f()

modf() and modff()