Name: Anonymous 2007-08-24 13:36 ID:qBy4HDJp
unsigned invert(unsigned x, int p, int n){
return (x & ~((~(~0 << n))<<(p-1))) ^ ((~(~0 << n))<<(p-1));
}
post more binary things..............show me neat things to do (*≧▽≦)
return (x & ~((~(~0 << n))<<(p-1))) ^ ((~(~0 << n))<<(p-1));
}
post more binary things..............show me neat things to do (*≧▽≦)