[issue36028] Integer Division discrepancy with float

2019-02-19 Thread Au Vo
Au Vo added the comment: thanks for the clarification. You have been a great help. Love Python and our supportive community! -- ___ Python tracker <https://bugs.python.org/issue36

[issue36028] Integer Division discrepancy with float

2019-02-18 Thread Au Vo
Au Vo added the comment: Here is the Python2 screenshot from trinket.io. There are discrepancies with 1,2,4,8,9, with 9 is given in Python2 and 10 is given in Python3. Again, sorry that Trinket.io does not specify which version of Python3 it implements. -- versions: +Python 2.7

[issue36028] Integer Division discrepancy with float

2019-02-18 Thread Au Vo
Au Vo added the comment: Thanks for the quick turnaround. I have done a little bit more thorough investigation and it does indeed the floating point that causes the behavior. The screenshot attached is done via Python3 from trinket.io. I will submit a screenshot of the Python 2 screenshot

[issue36028] Integer Division discrepancy with decimal

2019-02-18 Thread Au Vo
New submission from Au Vo : In Python3, there is a discrepancy of integer division with decimal. Considering these two examples: 4/ .4 ==10.0. But 4//.4== 9.0 Furthermore: 2//.2 == 9.0 3//.3 ==10.0 5//.5 ==10.0 6//.6 ==10.0 All answers should be 10.0? The problem is in Python3 and not in