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 mark.dickinson
Recipients Serge Anuchin, mark.dickinson, pitrou, r.david.murray, rhettinger, serhiy.storchaka, skrah, steven.daprano, tim.peters, vstinner
Date 2018-06-25.13:30:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529933403.83.0.56676864532.issue24567@psf.upfronthosting.co.za>
In-reply-to
Content
> Python _configuration_ should be changed to disable double rounding on such platforms

That sounds good to me, with the nitpick that setting an x87 FPU to 53-bit precision still doesn't avoid potential double rounding on underflow, and I'm not aware of any easy way to "fix" x87-using code to avoid double rounding on underflow.

That said, the vast majority of practical applications, including random.choice, math.fsum, dtoa.c, aren't going to be affected by double rounding on underflow, so it should only rear its ugly head in corner cases.

If we do this, can we also persuade Guido to Pronounce that Python implementations assume IEEE 754 format and semantics for floating-point?
History
Date User Action Args
2018-06-25 13:30:03mark.dickinsonsetrecipients: + mark.dickinson, tim.peters, rhettinger, pitrou, vstinner, steven.daprano, r.david.murray, skrah, serhiy.storchaka, Serge Anuchin
2018-06-25 13:30:03mark.dickinsonsetmessageid: <1529933403.83.0.56676864532.issue24567@psf.upfronthosting.co.za>
2018-06-25 13:30:03mark.dickinsonlinkissue24567 messages
2018-06-25 13:30:03mark.dickinsoncreate