EXP - exponential function.

(ANSI Standard)

Usage:

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

Where:

double x, y;
 

Description:

"exp" returns the exponential of "x". When returning the correct value would cause an overflow, "exp" returns the value HUGE_VAL defined in <math.h>. It also sets "errno" to ERANGE.

If the exponent is too negative (underflow), "exp" returns 0.0.

See Also:

expl c lib errno

Copyright © 1996, Thinkage Ltd.