[issue29282] Fused multiply-add: proposal to add math.fma()

Juraj Sukop report at bugs.python.org
Mon Jan 16 05:40:50 EST 2017


Juraj Sukop added the comment:

I would say because it has wide applicability, especially considering the amount of code it adds. It is similar in spirit to `copysign` or `fsum` which are already there and C99 includes it anyway. For simpler things like dot product or polynomial evaluation importing Numpy might be too much of an dependency.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29282>
_______________________________________


More information about the Python-bugs-list mailing list