summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libmath.tex
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-05-13 03:52:47 (GMT)
committerRaymond Hettinger <python@rcn.com>2002-05-13 03:52:47 (GMT)
commitc045b49633b6200a979894aa88dd09d5ca4eb6bf (patch)
treef5a1343ad393522f5e3e3daca79a6fe354fbdd7c /Doc/lib/libmath.tex
parent7906634f28b6c730912bcf51644ae4a8361fb028 (diff)
downloadcpython-c045b49633b6200a979894aa88dd09d5ca4eb6bf.zip
cpython-c045b49633b6200a979894aa88dd09d5ca4eb6bf.tar.gz
cpython-c045b49633b6200a979894aa88dd09d5ca4eb6bf.tar.bz2
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 0f286d4..f013e23 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}