bad i = -2147483648 good i = -2147483648 good i2 = 0 good i3 = 0 bad j = -2147483648 good j = -2147483648 .i = -2147483648 3.140000 -> 1567550465 3.990000 = 1 f = 2147483648.000000 .-9223372036854775808 9223372036854775807 1000000000000000000000 777777777777777777777 8000000000000000 7fffffffffffffff 8000000000000000 7FFFFFFFFFFFFFFF .one third = 0.333333 one third = 0.333333333 one third = 0.3333333333 one third = 0.33333333333 one third = 0.666666667 one third = 0.6666666667 one = 1 three = 3 one / three = 0.3333333333 .9223372036854775807 + 0 = 9223372036854775807 9223372036854775807 + 1 = signed add long overflow! 4611686018427387904 * 1 = 4611686018427387904 4611686018427387904 * 2 = signed mul long overflow! . Total: 5 tests (286 ticks, 0.000 sec), 5 assertions Pass: 5, fail: 0, skip: 0.