Better handling of integer wraparound in the kernel
Better handling of integer wraparound in the kernel
Posted Jan 29, 2024 3:47 UTC (Mon) by wtarreau (subscriber, #51152)In reply to: Better handling of integer wraparound in the kernel by willy
Parent article: Better handling of integer wraparound in the kernel
That's a good idea. I, too, like to make candidates discuss about pitfalls. I don't care if they can't do something, they'll have plenty of time to find a solution, what matters is how they're searching and what they care about.
BTW regarding your challenge, for me that's a typical use case for do ... while since you can only test for the end after the operation, e.g i=0; do { printf("%u\n", i); } while (++i);
