Quote:
Originally Posted by Novo
The best way to do the bit-shift is just... number = number >> 2;
This would work for unsigned values... And would do a bit-shift!
|
Sometimes you go over the max positive value and it "wraps around" to the lowest negative value. I guess this may have been why he also asked about getting past the max value.