Message336132
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 |
|
Date |
User |
Action |
Args |
2019-02-20 18:04:41 | Marcelo Marotta | set | recipients:
+ Marcelo Marotta |
2019-02-20 18:04:41 | Marcelo Marotta | set | messageid: <1550685881.68.0.81295097869.issue36055@roundup.psfhosted.org> |
2019-02-20 18:04:41 | Marcelo Marotta | link | issue36055 messages |
2019-02-20 18:04:41 | Marcelo Marotta | create | |
|