EXP(3) Linux Programmer's Manual EXP(3)

exp, expf, expl - base-e exponential function

#include <math.h>

double exp(double x);

float expf(float x);

long double expl(long double x);

Link with -lm.

The exp() function returns the value of e (the base of natural logarithms) raised to the power of x.

SVr4, 4.3BSD, C89, POSIX.1-2001. The float and the long double variants are C99 requirements.

cbrt(3), cexp(3), exp10(3), exp2(3), sqrt(3)

2002-07-27

Different Versions of this Page: