Author josh.r
Recipients josh.r, talha.demirsoy
Date 2020-04-06.02:06:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586138814.54.0.80481291689.issue40201@roundup.psfhosted.org>
In-reply-to
Content
Your script is using "true" division with / , (that produces potentially inaccurate float results) not floor division with // , (which gets int results). When the inputs vastly exceed the integer representational capabilities of floats (52-53 bits, where 10 ** 24 is 80 bits), you'll have problems.

This is a bug in your script, not Python.
History
Date User Action Args
2020-04-06 02:06:54josh.rsetrecipients: + josh.r, talha.demirsoy
2020-04-06 02:06:54josh.rsetmessageid: <1586138814.54.0.80481291689.issue40201@roundup.psfhosted.org>
2020-04-06 02:06:54josh.rlinkissue40201 messages
2020-04-06 02:06:54josh.rcreate