Quote Originally Posted by Brian
Well I don't see how anybody can understand that line of code without spending a few years researching it.

Code:
return (x & ((~0 << (p + 1)) | (~(~0 << (p + 1 - n))))) | ((y & ~(~0 << n)) << (p + 1 - n));
was that sarcastic ?