1EXPM1(3) Linux Programmer's Manual EXPM1(3)
2
3
4
6 expm1, expm1f, expm1l - exponential minus 1
7
9 #include <math.h>
10
11 double expm1(double x);
12 float expm1f(float x);
13 long double expm1l(long double x);
14
15 Link with -lm.
16
18 expm1(x) returns a value equivalent to `exp (x) - 1'. It is computed in
19 a way that is accurate even if the value of x is near zero—a case where
20 `exp (x) - 1' would be inaccurate due to subtraction of two numbers
21 that are nearly equal.
22
24 BSD, C99. The float and long double variants are C99 requirements.
25
27 exp(3), log(3), log1p(3)
28
29
30
31 2002-07-27 EXPM1(3)