1EXP2(3) Linux Programmer's Manual EXP2(3)
2
3
4
6 exp2, exp2f, exp2l - base-2 exponential function
7
9 #include <math.h>
10
11 double exp2(double x);
12 float exp2f(float x);
13 long double exp2l(long double x);
14
15 Compile with -std=c99; link with -lm.
16
18 The exp2() function returns the value of 2 raised to the power of x.
19
21 SVr4, POSIX.1-2001, 4.3BSD, C89. The float and long double variants
22 are C99 requirements.
23
25 cbrt(3), cexp2(3), exp(3), exp10(3), sqrt(3)
26
27
28
29 2002-07-27 EXP2(3)