summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}