GNU/Linux |
CentOS 5.1 |
|
![]() |
expf(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 long double variants are C99 requirements.
cbrt(3), cexp(3), exp10(3), exp2(3), sqrt(3)
![]() |
expf(3) | ![]() |