3 ms·
That won't get you the middle, these are integer divisions.
by pishpash 9y ago
That won't get you the middle, these are integer divisions.
- rntz 9y agoYes, that's why I said: "but then I have to think about rounding error. Ugh." Because integer division rounds. (Or truncates, if you prefer.)