reference/math/functions/expm1.xml
6abd858a41bad835a3ef5b0d02e3896733e72415
...
...
@@ -1,10 +1,10 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xml:id='function.expm1' xmlns="http://docbook.org/ns/docbook">
3
+
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.expm1">
4
4
<refnamediv>
5
5
<refname>expm1</refname>
6
6
<refpurpose>
7
-
Returns exp(number) - 1, computed in a way that is accurate even
7
+
Returns <code>exp($num) - 1</code>, computed in a way that is accurate even
8
8
when the value of number is close to zero
9
9
</refpurpose>
10
10
</refnamediv>
...
...
@@ -12,13 +12,13 @@
12
12
&reftitle.description;
13
13
<methodsynopsis>
14
14
<type>float</type><methodname>expm1</methodname>
15
-
<methodparam><type>float</type><parameter>arg</parameter></methodparam>
15
+
<methodparam><type>float</type><parameter>num</parameter></methodparam>
16
16
</methodsynopsis>
17
17
<para>
18
18
<function>expm1</function> returns the equivalent to
19
-
'exp(<parameter>arg</parameter>) - 1' computed in a way that is
20
-
accurate even if the value of <parameter>arg</parameter> is near zero,
21
-
a case where 'exp (<parameter>arg</parameter>) - 1' would be
19
+
<code>exp($<parameter>num</parameter>) - 1</code> computed in a way that is
20
+
accurate even if the value of <parameter>num</parameter> is near zero,
21
+
a case where <code>exp($<parameter>num</parameter>) - 1</code> would be
22
22
inaccurate due to subtraction of two numbers that are nearly equal.
23
23
</para>
24
24
</refsect1>
...
...
@@ -27,7 +27,7 @@
27
27
<para>
28
28
<variablelist>
29
29
<varlistentry>
30
-
<term><parameter>arg</parameter></term>
30
+
<term><parameter>num</parameter></term>
31
31
<listitem>
32
32
<para>
33
33
The argument to process
...
...
@@ -40,30 +40,7 @@
40
40
<refsect1 role="returnvalues">
41
41
&reftitle.returnvalues;
42
42
<para>
43
-
'e' to the power of <parameter>arg</parameter> minus one
44
-
</para>
45
-
</refsect1>
46
-
<refsect1 role="changelog">
47
-
&reftitle.changelog;
48
-
<para>
49
-
<informaltable>
50
-
<tgroup cols="2">
51
-
<thead>
52
-
<row>
53
-
<entry>&Version;</entry>
54
-
<entry>&Description;</entry>
55
-
</row>
56
-
</thead>
57
-
<tbody>
58
-
<row>
59
-
<entry>5.3.0</entry>
60
-
<entry>
61
-
This function is now available on all platforms
62
-
</entry>
63
-
</row>
64
-
</tbody>
65
-
</tgroup>
66
-
</informaltable>
43
+
<literal>e</literal> to the power of <parameter>num</parameter>, minus one.
67
44
</para>
68
45
</refsect1>
69
46
<refsect1 role="seealso">
...
...
@@ -76,7 +53,6 @@
76
53
</para>
77
54
</refsect1>
78
55
</refentry>
79
-

80
56
<!-- Keep this comment at the end of the file
81
57
Local variables:
82
58
mode: sgml
83
59