exp() and expf()

Syntax
  #include <math.h>

  
  double exp (double x);

  
  float  expf(float x);

  
Description

exp() computes ex, where e is the base of natural logarithms.

Return

ex. If the computation fails because the value is too large, HUGE_VAL is returned and errno is set to ERANGE.

See also

log() and logf(),

log10() and log10f(), and

pow() and powf()