2009-07-09, 12:53 PM
(This post was last modified: 2009-07-09, 04:24 PM by Kortestanov.)
Dusk Wrote:Bitshifting >> 1 is the same thing as dividing by 2 and rounding down. Cool find. I guess the only thing that applies for most people is (2/9)*(avoid/acc).Oh I didn't know that. nice.
Edit: I just realized that your avatar is a glider.
And yes, its a glider :f6:
EDIT: You are talking about SHR. SAR is arithmetic, so if the most significant bit is 1 you need to add another 1 to the left.
e.g. sar'ing the binary string 10000010 would result in 11000001

