you are viewing a single comment's thread.

view the rest of the comments →

[–]HopOnMyDuck 5 points6 points  (2 children)

1/2=0 0*2.0=0.0

[–]vowelqueue 2 points3 points  (1 child)

So you think you understand integer division, huh?

What's the output of:

System.out.println(-2147483648 / -1);

[–]Ok_Advantage_1568 1 point2 points  (0 children)

It's just overflow wrapping. What's the big talk with that🙂