I'm confused about the following integer math in python:
-7/3 = -3
since (-3)*3 = -9 < -7
. I understand.
7/-3 = -3
I don't get how this is defined. (-3)*(-3) = 9 > 7
. In my opinion, it should be -2, because (-3)*(-2) = 6 < 7
.
How does this work?