From 991b74e16626d626fd92a86d9009a33419a94fba Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sat, 19 Feb 2022 20:57:33 -0800 Subject: [PATCH] math: add exp2 (#7321) --- stdlib/math.pyi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stdlib/math.pyi b/stdlib/math.pyi index d5e6f99df..2218f6817 100644 --- a/stdlib/math.pyi +++ b/stdlib/math.pyi @@ -41,6 +41,10 @@ if sys.version_info >= (3, 8): def erf(__x: _SupportsFloatOrIndex) -> float: ... def erfc(__x: _SupportsFloatOrIndex) -> float: ... def exp(__x: _SupportsFloatOrIndex) -> float: ... + +if sys.version_info >= (3, 11): + def exp2(__x: _SupportsFloatOrIndex) -> float: ... + def expm1(__x: _SupportsFloatOrIndex) -> float: ... def fabs(__x: _SupportsFloatOrIndex) -> float: ...