Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
edfaa69f
Commit
edfaa69f
authored
Apr 21, 1999
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mark the references to module names use \module or \refmodule (the
closing paragraph used \code).
parent
8c231076
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
Doc/lib/libcmath.tex
Doc/lib/libcmath.tex
+6
-8
No files found.
Doc/lib/libcmath.tex
View file @
edfaa69f
\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
\
cod
e
{
math
}
\refbimodindex
{
math
}
. The reason for having
that in module
\
refmodul
e
{
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
\
cod
e
{
cmath
}
always return a
Also note that the functions defined in
\
modul
e
{
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).
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment