From: Raymond Hettinger Date: Mon, 13 May 2002 03:52:47 +0000 (+0000) Subject: Added degrees() and radians() to mathmodule. Closing patch 552452 and X-Git-Tag: v2.3c1~5685 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c045b49633b6200a979894aa88dd09d5ca4eb6bf;p=thirdparty%2FPython%2Fcpython.git Added degrees() and radians() to mathmodule. Closing patch 552452 and feature request 426539. --- diff --git a/Doc/lib/libmath.tex b/Doc/lib/libmath.tex index 0f286d426d7f..f013e23a114e 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}