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, C99, POSIX.1-2001. The float and long double variants are C99 requirements.

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

This page is part of release 2.75 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/.

2002-07-27

Different Versions of this Page: