4 ms·
Actually, this method counts on it. What I find interesting are the trade-offs: machine vs explicit integer wrap-around and buffers with maximum ~size(int)/2 v
by crististm 10y ago
Actually, this method counts on it.
What I find interesting are the trade-offs: machine vs explicit integer wrap-around and buffers with maximum ~size(int)/2 vs ~size(int).
- falcolas 10y agoGot it. Modular arithmetic was the term I was looking for to resolve this. (0 - (2^32 - 1)) % 2^32 = 1