]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-73468: Add math.fma() function (#116667)
authorVictor Stinner <vstinner@python.org>
Sun, 17 Mar 2024 13:58:26 +0000 (14:58 +0100)
committerGitHub <noreply@github.com>
Sun, 17 Mar 2024 13:58:26 +0000 (13:58 +0000)
commit8e3c953b3acd7c656f66696806c9ae917e816492
tree3b184440daa9bf6114a31d8e8837fdec5bf20c32
parentb8d808ddd77f84de9f93adcc2aede2879eb5241e
gh-73468: Add math.fma() function (#116667)

Added new math.fma() function, wrapping C99's ``fma()`` operation:
fused multiply-add function.

Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
Doc/library/math.rst
Doc/whatsnew/3.13.rst
Lib/test/test_math.py
Misc/NEWS.d/next/Library/2024-03-12-17-53-14.gh-issue-73468.z4ZzvJ.rst [new file with mode: 0644]
Modules/clinic/mathmodule.c.h
Modules/mathmodule.c