summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libmath.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-11-25 01:00:40 (GMT)
committerGuido van Rossum <guido@python.org>1997-11-25 01:00:40 (GMT)
commitf259efe3d96009c61a9a1fad355dfbf1055ad8af (patch)
tree6480a7229a07287bb4ffbfac77d0913aadd8923a /Doc/lib/libmath.tex
parent3e1e274d0b16bab5fd27a7d418863be8d3093466 (diff)
downloadcpython-f259efe3d96009c61a9a1fad355dfbf1055ad8af.zip
cpython-f259efe3d96009c61a9a1fad355dfbf1055ad8af.tar.gz
cpython-f259efe3d96009c61a9a1fad355dfbf1055ad8af.tar.bz2
Get rid of math mode in some places.
Diffstat (limited to 'Doc/lib/libmath.tex')
-rw-r--r--Doc/lib/libmath.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libmath.tex b/Doc/lib/libmath.tex
index e41edda..8f7eeba 100644
--- a/Doc/lib/libmath.tex
+++ b/Doc/lib/libmath.tex
@@ -37,7 +37,7 @@ Return the hyperbolic cosine of \var{x}.
\end{funcdesc}
\begin{funcdesc}{exp}{x}
-Return the exponential value $\mbox{e}^x$.
+Return \code{e**\var{x}}.
\end{funcdesc}
\begin{funcdesc}{fabs}{x}
@@ -62,7 +62,7 @@ Return the Euclidean distance, \code{sqrt(x*x + y*y)}.
\end{funcdesc}
\begin{funcdesc}{ldexp}{x, i}
-Return $x {\times} 2^i$.
+Return \code{\var{x} * (2**\var{i})}.
\end{funcdesc}
\begin{funcdesc}{modf}{x}
@@ -71,7 +71,7 @@ carry the sign of \var{x}.
\end{funcdesc}
\begin{funcdesc}{pow}{x, y}
-Return $x^y$.
+Return \code{\var{x}**\var{y}}.
\end{funcdesc}
\begin{funcdesc}{sin}{x}