-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Feature request: Add a fused multiply-add function. It should use a hardware implementation if available.
This function computes x * y + z as if to infinite precision, rounding only once to fit the destination type.
Examples:
- https://github.com/smasher164/fma
- https://github.com/nschloe/pyfma
- Fused multiply-add: proposal to add math.fma() python/cpython#73468
- https://en.cppreference.com/w/cpp/numeric/math/fma
- https://www.gnu.org/software/c-intro-and-ref/manual/html_node/Fused-Multiply_002dAdd.html
- https://accurate-algorithms.readthedocs.io/en/latest/ch03fma.html
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request