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 Marcelo Marotta
Recipients Marcelo Marotta
Date 2019-02-20.18:04:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550685881.68.0.81295097869.issue36055@roundup.psfhosted.org>
In-reply-to
Content
Steps to reproduce the error

>>> import math
>>> 1/math.log(math.pow(30,0.5),2) == 2/math.log(30,2)
True
>>> 1/math.log(math.pow(9,0.5),2) == 2/math.log(9,2)
True
>>> 1/math.log(math.pow(15,0.5),2) == 2/math.log(15,2)
True
>>> 1/math.log(math.pow(8,0.5),2) == 2/math.log(8,2)
False
>>> 2/math.log(8,2)
0.6666666666666666
>>> 1/math.log(math.pow(8,0.5),2) 
0.6666666666666665

I reproduced the error in Python :
Python 3.5.3
and
Python 2.7.13
History
Date User Action Args
2019-02-20 18:04:41Marcelo Marottasetrecipients: + Marcelo Marotta
2019-02-20 18:04:41Marcelo Marottasetmessageid: <1550685881.68.0.81295097869.issue36055@roundup.psfhosted.org>
2019-02-20 18:04:41Marcelo Marottalinkissue36055 messages
2019-02-20 18:04:41Marcelo Marottacreate