top | item 44584677 (no title) trealira | 7 months ago Yeah, it would have to be something like this if you wanted to avoid the signed integer overflow at the end of the loop: assert(i <= j); for (;;) { do_something_with(i); if (i == j) break; i++; } discuss order hn newest No comments yet.
No comments yet.