[Python-checkins] python/dist/src/Doc/lib libmath.tex,1.28,1.29
montanaro@users.sourceforge.net
montanaro@users.sourceforge.net
Fri, 25 Apr 2003 19:59:02 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv25390
Modified Files:
libmath.tex
Log Message:
Add note about platform-specific behavior arising from discussion on bug
711019.
Index: libmath.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libmath.tex,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** libmath.tex 17 Dec 2002 01:24:11 -0000 1.28
--- libmath.tex 26 Apr 2003 02:59:00 -0000 1.29
***************
*** 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}
***************
*** 145,148 ****
--- 145,158 ----
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}