This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients juraj.sukop, mark.dickinson, pitrou, serhiy.storchaka, vstinner
Date 2017-01-16.11:05:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484564748.98.0.0737919727642.issue29282@psf.upfronthosting.co.za>
In-reply-to
Content
The performance argument unlikely is applicable in this case. I suppose that an overhead of function call in Python make two operators faster than one function call.

Alternatives to fma() for exact computations are integer arithmetic (if all values can be scaled to integers), fractions and decimal numbers.

But since fma() is a part of C (C99), C++ (C++11) and POSIX (POSIX.1-2001) standards for long time, I don't have objections against including it in the math module.
History
Date User Action Args
2017-01-16 11:05:49serhiy.storchakasetrecipients: + serhiy.storchaka, mark.dickinson, pitrou, vstinner, juraj.sukop
2017-01-16 11:05:48serhiy.storchakasetmessageid: <1484564748.98.0.0737919727642.issue29282@psf.upfronthosting.co.za>
2017-01-16 11:05:48serhiy.storchakalinkissue29282 messages
2017-01-16 11:05:48serhiy.storchakacreate