summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-01-09 21:26:51 (GMT)
committerFred Drake <fdrake@acm.org>1998-01-09 21:26:51 (GMT)
commitd327a8dddfa31f296d7fe37c4efbadf5ee6199f6 (patch)
tree78a566caf234830571efe48f317b0feb20d628c2
parent6b3ed7f58130a8645f4802ecd2c540f361d9be85 (diff)
downloadcpython-d327a8dddfa31f296d7fe37c4efbadf5ee6199f6.zip
cpython-d327a8dddfa31f296d7fe37c4efbadf5ee6199f6.tar.gz
cpython-d327a8dddfa31f296d7fe37c4efbadf5ee6199f6.tar.bz2
Typographical nits: Always set parameter names in \var{} in the running text.
-rw-r--r--Doc/lib/libmath.tex6
-rw-r--r--Doc/libmath.tex6
2 files changed, 6 insertions, 6 deletions
diff --git a/Doc/lib/libmath.tex b/Doc/lib/libmath.tex
index 8f7eeba..2f80275 100644
--- a/Doc/lib/libmath.tex
+++ b/Doc/lib/libmath.tex
@@ -21,7 +21,7 @@ Return the arc tangent of \var{x}.
\end{funcdesc}
\begin{funcdesc}{atan2}{x, y}
-Return \code{atan(x / y)}.
+Return \code{atan(\var{x} / \var{y})}.
\end{funcdesc}
\begin{funcdesc}{ceil}{x}
@@ -49,7 +49,7 @@ Return the floor of \var{x}.
\end{funcdesc}
\begin{funcdesc}{fmod}{x, y}
-Return \code{x \% y}.
+Return \code{\var{x} \%\ \var{y}}.
\end{funcdesc}
\begin{funcdesc}{frexp}{x}
@@ -58,7 +58,7 @@ positive.
\end{funcdesc}
\begin{funcdesc}{hypot}{x, y}
-Return the Euclidean distance, \code{sqrt(x*x + y*y)}.
+Return the Euclidean distance, \code{sqrt(\var{x}*\var{x} + \var{y}*\var{y})}.
\end{funcdesc}
\begin{funcdesc}{ldexp}{x, i}
diff --git a/Doc/libmath.tex b/Doc/libmath.tex
index 8f7eeba..2f80275 100644
--- a/Doc/libmath.tex
+++ b/Doc/libmath.tex
@@ -21,7 +21,7 @@ Return the arc tangent of \var{x}.
\end{funcdesc}
\begin{funcdesc}{atan2}{x, y}
-Return \code{atan(x / y)}.
+Return \code{atan(\var{x} / \var{y})}.
\end{funcdesc}
\begin{funcdesc}{ceil}{x}
@@ -49,7 +49,7 @@ Return the floor of \var{x}.
\end{funcdesc}
\begin{funcdesc}{fmod}{x, y}
-Return \code{x \% y}.
+Return \code{\var{x} \%\ \var{y}}.
\end{funcdesc}
\begin{funcdesc}{frexp}{x}
@@ -58,7 +58,7 @@ positive.
\end{funcdesc}
\begin{funcdesc}{hypot}{x, y}
-Return the Euclidean distance, \code{sqrt(x*x + y*y)}.
+Return the Euclidean distance, \code{sqrt(\var{x}*\var{x} + \var{y}*\var{y})}.
\end{funcdesc}
\begin{funcdesc}{ldexp}{x, i}