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, this function returns HUGE_VAL and sets errno to ERANGE.

See also

log() and logf()

log10() and log10f()

pow() and powf()