]>
Commit | Line | Data |
---|---|---|
fea681da MK |
1 | .\" Copyright 1995 Jim Van Zandt <jrv@vanzandt.mv.com> |
2 | .\" | |
3 | .\" Permission is granted to make and distribute verbatim copies of this | |
4 | .\" manual provided the copyright notice and this permission notice are | |
5 | .\" preserved on all copies. | |
6 | .\" | |
7 | .\" Permission is granted to copy and distribute modified versions of this | |
8 | .\" manual under the conditions for verbatim copying, provided that the | |
9 | .\" entire resulting derived work is distributed under the terms of a | |
10 | .\" permission notice identical to this one. | |
c13182ef | 11 | .\" |
fea681da MK |
12 | .\" Since the Linux kernel and libraries are constantly changing, this |
13 | .\" manual page may be incorrect or out-of-date. The author(s) assume no | |
14 | .\" responsibility for errors or omissions, or for damages resulting from | |
15 | .\" the use of the information contained herein. The author(s) may not | |
16 | .\" have taken the same level of care in the production of this manual, | |
17 | .\" which is licensed free of charge, as they might when working | |
18 | .\" professionally. | |
c13182ef | 19 | .\" |
fea681da MK |
20 | .\" Formatted or processed versions of this manual, if unaccompanied by |
21 | .\" the source, must acknowledge the copyright and authors of this work. | |
22 | .\" | |
23 | .\" Modified 2002-07-27 Walter Harms | |
24 | .\" (walter.harms@informatik.uni-oldenburg.de) | |
25 | .\" | |
26 | .TH EXPM1 3 2002-07-27 "" "Linux Programmer's Manual" | |
27 | .SH NAME | |
28 | expm1, expm1f, expm1l \- exponential minus 1 | |
29 | .SH SYNOPSIS | |
30 | .nf | |
31 | .B #include <math.h> | |
32 | .sp | |
33 | .BI "double expm1(double " x ); | |
d39541ec | 34 | .br |
fea681da | 35 | .BI "float expm1f(float " x ); |
d39541ec | 36 | .br |
fea681da MK |
37 | .BI "long double expm1l(long double " x ); |
38 | .sp | |
39 | .fi | |
e9329f6d | 40 | Link with \fI-lm\fP. |
fea681da MK |
41 | .SH DESCRIPTION |
42 | .BI expm1( x ) | |
ca7b3c18 MK |
43 | returns a value equivalent to `exp (\fIx\fP) \- 1'. |
44 | It is | |
fea681da | 45 | computed in a way that is accurate even if the value of \fIx\fP is near |
2bc2f479 | 46 | zero\(ema case where `exp (\fIx\fP) \- 1' would be inaccurate due to |
fea681da MK |
47 | subtraction of two numbers that are nearly equal. |
48 | .SH "CONFORMING TO" | |
49 | BSD, C99. | |
c13182ef | 50 | The |
e49f411f MK |
51 | .I float |
52 | and | |
53 | .I "long double" | |
54 | variants are C99 requirements. | |
fea681da MK |
55 | .SH "SEE ALSO" |
56 | .BR exp (3), | |
57 | .BR log (3), | |
58 | .BR log1p (3) |