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 <>
> 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.
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: <>
2017-01-14 14:52:12serhiy.storchakalinkissue26296 messages
2017-01-14 14:52:12serhiy.storchakacreate