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
51183415
Commit
51183415
authored
Apr 26, 2003
by
Skip Montanaro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add note about platform-specific behavior arising from discussion on bug
711019.
parent
8b7beb63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
Doc/lib/libmath.tex
Doc/lib/libmath.tex
+11
-1
No files found.
Doc/lib/libmath.tex
View file @
51183415
...
...
@@ -17,7 +17,7 @@ complex result allows earlier detection of the unexpected complex
number used as a parameter, so that the programmer can determine how
and why it was generated in the first place.
The following functions provided by this module:
The following functions
are
provided by this module:
\begin{funcdesc}
{
acos
}{
x
}
Return the arc cosine of
\var
{
x
}
.
...
...
@@ -145,6 +145,16 @@ The mathematical constant \emph{pi}.
The mathematical constant
\emph
{
e
}
.
\end{datadesc}
\begin{notice}
Specific exceptions raised in assorted error cases (and even whether some
arguments are considered to be exceptional at all) are not defined in any
useful cross-platform or cross-release way. For example, whether
\code
{
math.log(0)
}
returns
\code
{
-Inf
}
or raises
\exception
{
ValueError
}
or
\exception
{
OverflowError
}
is both platform- and release-dependent, and in
cases where
\code
{
math.log(0)
}
raises an
\exception
{
OverflowError
}
,
\code
{
math.log(0L)
}
often raises a
\exception
{
ValueError
}
.
\end{notice}
\begin{seealso}
\seemodule
{
cmath
}{
Complex number versions of many of these functions.
}
\end{seealso}
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