Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualpapalazaru

Posted 21 December 2012 - 12:37 PM

Actually, I'm a bit retarded.

instead of using a mask, for example

mask = (0xffffffff >> (32 - bitcount));

I can use

mask = ~(0xffffffff << bitcount);

D'uuurh.

#4papalazaru

Posted 21 December 2012 - 12:24 PM

Actually, I'm a bit retarded.

instead of using a mask, for example

mask = (0xffffffff >> (32 - bitcount));

I can use

mask = ~(0xffffffff >> bitcount);

D'uuurh.

#3papalazaru

Posted 21 December 2012 - 12:24 PM

Actually, I'm a bit retarded.

instead of using a mask, for example

mask = 0xffffffff >> (32 - bitcount);

I can use

mask = ~(0xffffffff >> bitcount);

D'uuurh.

#2papalazaru

Posted 21 December 2012 - 12:24 PM

Actually, I'm a bit retarded.

instead of using a mask, for example

mask = 0xffffffff >> (32 - bitcount);

I can use

mask = ~(0xffffffff >> bitcount);

D'uuurh.

#1papalazaru

Posted 21 December 2012 - 12:23 PM

Actually, I'm a bit retarded.

 

instead of using a mask, for example

 

mask = 0xffffffff << (32 - bitcount);

 

I can use 

 

mask = ~(0xffffffff << bitcount);

 

D'uuurh.


PARTNERS