What\'s a fast way to round up an unsigned int to a multiple of 4?
int
4
A multiple of 4 has the two least significant bits 0, right? So I could
myint = (myint + 4) & 0xffffffc
This is assuming that by "next multiple of 4" that you are always moving upwards; i.e. 5 -> 8 and 4 -> 8.