I wonder how fast the add-on will increase, I wrote a quick loop in Java to see:
int count = 1; while(true){ System.out.println(count); count += count; }
The result was unexpected:
0 0 0 0 0 ...
Why is this? count initialized to 1, so internal addition must be done by count + count or 1 + 1 . Why is the result 0?
source share