mirror of
https://github.com/python/cpython
synced 2024-09-20 15:41:39 +00:00
Added degrees() and radians() to mathmodule. Closing patch 552452 and
feature request 426539.
This commit is contained in:
parent
7906634f28
commit
c045b49633
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue