3 ms·
It works regardless of signed/unsigned type, because signed ints still wrap at UINT_MAX (and not at INT_MAX).
by CamperBob 15y ago
It works regardless of signed/unsigned type, because signed ints still wrap at UINT_MAX (and not at INT_MAX).
3 ms·