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 rhettinger
Recipients mark.dickinson, rhettinger, serhiy.storchaka, skrah, steven.daprano, tim.peters
Date 2018-07-26.15:02:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1532617332.15.0.56676864532.issue33089@psf.upfronthosting.co.za>
In-reply-to
Content
I don't want to make any guarantees beyond what the doc patch says.

Commutativity guarantees are difficult to deliver without exact summation. A switchover to C's hypot() creates an external dependency such that we can't make any more guarantees than were given to us (which is nothing).  Also, algorithmic switchovers risk impairing monotonicity.  The Inf/NaN rules already existed before this patch and I believe that Mark elected to not document them on a function by function basis.  Another reason not to make guarantees is that this is a "mostly good-enough patch" and I expect that either Mark or Tim will someday improve it with a "single-rounding dot product".  My aim is to make it good before any effort is given to making it perfect.  In the meantime, it makes little sense to guarantee implementation details.
History
Date User Action Args
2018-07-26 15:02:12rhettingersetrecipients: + rhettinger, tim.peters, mark.dickinson, steven.daprano, skrah, serhiy.storchaka
2018-07-26 15:02:12rhettingersetmessageid: <1532617332.15.0.56676864532.issue33089@psf.upfronthosting.co.za>
2018-07-26 15:02:12rhettingerlinkissue33089 messages
2018-07-26 15:02:12rhettingercreate