From c11b16882c7d1155f9f61a912799471c66f59305 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sat, 18 May 2024 13:30:41 -0700 Subject: [PATCH] math: add fma in py313 (#11968) --- stdlib/math.pyi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stdlib/math.pyi b/stdlib/math.pyi index 0c2fd4aba..0e6565fcf 100644 --- a/stdlib/math.pyi +++ b/stdlib/math.pyi @@ -123,3 +123,6 @@ def trunc(x: _SupportsTrunc[_T], /) -> _T: ... if sys.version_info >= (3, 9): def ulp(x: _SupportsFloatOrIndex, /) -> float: ... + +if sys.version_info >= (3, 13): + def fma(x: _SupportsFloatOrIndex, y: _SupportsFloatOrIndex, z: _SupportsFloatOrIndex) -> float: ...