Expression evaluates to: 0
The expression 1/2
asks for how many times 2 goes into 1.
The answer is 0
.
It is not the case that 1/2 produces 0.5 which is then rounded down to 0. Integer division is a well-defined operation with no floating point intermediate results required.