diff options
Diffstat (limited to 'Doc/libmath.tex')
-rw-r--r-- | Doc/libmath.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/libmath.tex b/Doc/libmath.tex index e41edda..8f7eeba 100644 --- a/Doc/libmath.tex +++ b/Doc/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} |