1EXP(3) Linux Programmer's Manual EXP(3)
2
3
4
6 exp, expf, expl - base-e exponential function
7
9 #include <math.h>
10
11 double exp(double x);
12 float expf(float x);
13 long double expl(long double x);
14
15 Link with -lm.
16
18 The exp() function returns the value of e (the base of natural loga‐
19 rithms) raised to the power of x.
20
22 SVr4, 4.3BSD, C89, C99, POSIX.1-2001. The float and long double vari‐
23 ants are C99 requirements.
24
26 cbrt(3), cexp(3), exp10(3), exp2(3), sqrt(3)
27
28
29
30 2002-07-27 EXP(3)