summaryrefslogtreecommitdiffstats
path: root/Doc/library/math.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/math.rst')
-rw-r--r--Doc/library/math.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst
index 7118678..1ad6045 100644
--- a/Doc/library/math.rst
+++ b/Doc/library/math.rst
@@ -356,6 +356,13 @@ Power and logarithmic functions
or ``pow(math.e, x)``.
+.. function:: exp2(x)
+
+ Return *2* raised to the power *x*.
+
+ .. versionadded:: 3.11
+
+
.. function:: expm1(x)
Return *e* raised to the power *x*, minus 1. Here *e* is the base of natural