summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libcmath.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-04-21 16:29:18 (GMT)
committerFred Drake <fdrake@acm.org>1999-04-21 16:29:18 (GMT)
commit8307e21a2a7486233da4ac4daa0f64562c900ddb (patch)
tree2b491ed2b49f44766d9df7a92944f1a6c7ceda5a /Doc/lib/libcmath.tex
parent6ed122a334c111bbeb0f8016fe5f9b14cd44aac9 (diff)
downloadcpython-8307e21a2a7486233da4ac4daa0f64562c900ddb.zip
cpython-8307e21a2a7486233da4ac4daa0f64562c900ddb.tar.gz
cpython-8307e21a2a7486233da4ac4daa0f64562c900ddb.tar.bz2
Mark the references to module names use \module or \refmodule (the
closing paragraph used \code).
Diffstat (limited to 'Doc/lib/libcmath.tex')
-rw-r--r--Doc/lib/libcmath.tex14
1 files changed, 6 insertions, 8 deletions
diff --git a/Doc/lib/libcmath.tex b/Doc/lib/libcmath.tex
index d5328e3..378615b 100644
--- a/Doc/lib/libcmath.tex
+++ b/Doc/lib/libcmath.tex
@@ -1,13 +1,11 @@
\section{\module{cmath} ---
- Mathematical functions for complex numbers.}
-\declaremodule{builtin}{cmath}
-
+ Mathematical functions for complex numbers}
+\declaremodule{builtin}{cmath}
\modulesynopsis{Mathematical functions for complex numbers.}
-This module is always available.
-It provides access to mathematical functions for complex numbers.
-The functions are:
+This module is always available. It provides access to mathematical
+functions for complex numbers. The functions are:
\begin{funcdesc}{acos}{x}
Return the arc cosine of \var{x}.
@@ -84,10 +82,10 @@ The mathematical constant \emph{e}, as a real.
\end{datadesc}
Note that the selection of functions is similar, but not identical, to
-that in module \code{math}\refbimodindex{math}. The reason for having
+that in module \refmodule{math}\refbimodindex{math}. The reason for having
two modules is, that some users aren't interested in complex numbers,
and perhaps don't even know what they are. They would rather have
\code{math.sqrt(-1)} raise an exception than return a complex number.
-Also note that the functions defined in \code{cmath} always return a
+Also note that the functions defined in \module{cmath} always return a
complex number, even if the answer can be expressed as a real number
(in which case the complex number has an imaginary part of zero).