+ 5
Why 5//-2 or -5//2 is not -2 ?
3 Answers
+ 7
See, flooring -2.5 to the next algebraic number that is lower gives -3, but not -2
+ 7
floor division ( // ) always rounds down, not towards 0 but down. so -32.5 == -33
32.5 == 33
+ 2
floor division is always round down. For example 10//3 = 3 but in normal division you will get exact decimals like this 10/3 = 3.3333