[Python-checkins] python/dist/src/Doc/lib libmath.tex,1.25,1.25.22.1
montanaro@users.sourceforge.net
montanaro@users.sourceforge.net
Fri, 25 Apr 2003 19:59:48 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv25623
Modified Files:
Tag: release22-maint
libmath.tex
Log Message:
backport of note arising from bug 711019.
Index: libmath.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libmath.tex,v
retrieving revision 1.25
retrieving revision 1.25.22.1
diff -C2 -d -r1.25 -r1.25.22.1
*** libmath.tex 18 Dec 2000 13:50:24 -0000 1.25
--- libmath.tex 26 Apr 2003 02:59:46 -0000 1.25.22.1
***************
*** 18,22 ****
and why it was generated in the first place.
! The following functions provided by this module:
\begin{funcdesc}{acos}{x}
--- 18,22 ----
and why it was generated in the first place.
! The following functions are provided by this module:
\begin{funcdesc}{acos}{x}
***************
*** 135,138 ****
--- 135,148 ----
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}