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 it fails because the result would be too large, HUGE_VAL is returned and errno is set to ERANGE.

See also

exp() and expf(),

frexp() and frexpf(),

log() and logf(),

log10() and log10f(), and

modf() and modff()