summaryrefslogtreecommitdiff
path: root/Doc/lib/libmath.tex
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-05-13 03:52:47 +0000
committerRaymond Hettinger <python@rcn.com>2002-05-13 03:52:47 +0000
commita871bb2bab5cf5c33495d0b75ccb94f357a4e4ed (patch)
tree94c5bb9c49ba4da7740d094f657d46b0c340c1f1 /Doc/lib/libmath.tex
parent1b9b56827acabff4ca196e5c78945ccf171a299a (diff)
downloadcpython-a871bb2bab5cf5c33495d0b75ccb94f357a4e4ed.tar.gz
Added degrees() and radians() to mathmodule. Closing patch 552452 and
feature request 426539.
Diffstat (limited to 'Doc/lib/libmath.tex')
-rw-r--r--Doc/lib/libmath.tex8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/lib/libmath.tex b/Doc/lib/libmath.tex
index 0f286d426d..f013e23a11 100644
--- a/Doc/lib/libmath.tex
+++ b/Doc/lib/libmath.tex
@@ -47,6 +47,10 @@ Return the cosine of \var{x}.
Return the hyperbolic cosine of \var{x}.
\end{funcdesc}
+\begin{funcdesc}{degrees}{x}
+Converts angle \var{x} from radians to degrees.
+\end{funcdesc}
+
\begin{funcdesc}{exp}{x}
Return \code{e**\var{x}}.
\end{funcdesc}
@@ -99,6 +103,10 @@ carry the sign of \var{x}. The integer part is returned as a float.
Return \code{\var{x}**\var{y}}.
\end{funcdesc}
+\begin{funcdesc}{radians}{x}
+Converts angle \var{x} from degrees to radians.
+\end{funcdesc}
+
\begin{funcdesc}{sin}{x}
Return the sine of \var{x}.
\end{funcdesc}