diff options
author | Ajith Ramachandran <ajithar204@gmail.com> | 2021-06-10 16:42:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-10 16:42:09 (GMT) |
commit | ac867f10b49322e25f34d2d8abd8e63c86834750 (patch) | |
tree | df19019a4f94682e5ed4303fe1328526c831517d /Doc/library | |
parent | 90cd4330329a99e52f7141db5e0a469d30088e66 (diff) | |
download | cpython-ac867f10b49322e25f34d2d8abd8e63c86834750.zip cpython-ac867f10b49322e25f34d2d8abd8e63c86834750.tar.gz cpython-ac867f10b49322e25f34d2d8abd8e63c86834750.tar.bz2 |
bpo-44357:Add `math.cbrt()` function: Cube Root (GH-26622)
* Add math.cbrt() function: Cube Root
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/math.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst index 145bac4..7aa543a 100644 --- a/Doc/library/math.rst +++ b/Doc/library/math.rst @@ -342,6 +342,13 @@ necessarily has no fractional bits. Power and logarithmic functions ------------------------------- +.. function:: cbrt(x) + + Return the cube root of *x*. + + .. versionadded:: 3.11 + + .. function:: exp(x) Return *e* raised to the power *x*, where *e* = 2.718281... is the base |