Author serhiy.storchaka
Recipients Jim.Jewett, Kunal Grover, Mats Luspa, The_Knight, aarqon, serhiy.storchaka, vstinner, yselivanov
Date 2017-01-14.14:52:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484405532.43.0.386975475849.issue26296@psf.upfronthosting.co.za>
In-reply-to
Content
> The modulus fixes it for exact numbers.  It doesn't produce exactly the same result with floats, because of rounding.  Is that a problem?

I don't think that is a problem. The function uses a number of floating point operations producing inexact intermediate values. There is not an evidence that the proposed code produces more accurate value.
History
Date User Action Args
2017-01-14 14:52:12serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, Jim.Jewett, yselivanov, The_Knight, Mats Luspa, Kunal Grover, aarqon
2017-01-14 14:52:12serhiy.storchakasetmessageid: <1484405532.43.0.386975475849.issue26296@psf.upfronthosting.co.za>
2017-01-14 14:52:12serhiy.storchakalinkissue26296 messages
2017-01-14 14:52:12serhiy.storchakacreate