exp

Computes the exponential function of the argument.

Library:LibC
Classification:ANSI
Service:Math

Syntax

  #include <math.h> 
   
  double exp (
     double   x);
  

Parameters

x

(IN) Specifies the argument whose exponential function is to be computed.

Return Values

Returns the exponential value. When the argument is outside the permissible range, errno is set and matherr is called.

Remarks

The exp function computes the exponential function of x. A range error occurs if the magnitude of x is too large.

See Also