diff options
author | Fred Drake <fdrake@acm.org> | 1998-01-09 21:30:03 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-01-09 21:30:03 (GMT) |
commit | aa5dba026adf7bc31d9a3d2983cbbfa83843fee0 (patch) | |
tree | 7749407bc1cdb47ba0aa21ec053315685d2076c9 /Doc | |
parent | d327a8dddfa31f296d7fe37c4efbadf5ee6199f6 (diff) | |
download | cpython-aa5dba026adf7bc31d9a3d2983cbbfa83843fee0.zip cpython-aa5dba026adf7bc31d9a3d2983cbbfa83843fee0.tar.gz cpython-aa5dba026adf7bc31d9a3d2983cbbfa83843fee0.tar.bz2 |
Add index entry for reference to the math module.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libcmath.tex | 14 | ||||
-rw-r--r-- | Doc/libcmath.tex | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/Doc/lib/libcmath.tex b/Doc/lib/libcmath.tex index 314db20..4873346 100644 --- a/Doc/lib/libcmath.tex +++ b/Doc/lib/libcmath.tex @@ -82,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}. 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 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). +that in module \code{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 +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). diff --git a/Doc/libcmath.tex b/Doc/libcmath.tex index 314db20..4873346 100644 --- a/Doc/libcmath.tex +++ b/Doc/libcmath.tex @@ -82,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}. 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 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). +that in module \code{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 +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). |