View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 11-21-2016 , 16:49   Re: Regarding certain statements and such.
Reply With Quote #15

Quote:
Originally Posted by KliPPy View Post
There is no left arithmetic shift.
Which makes sense if you know what right arithmetic shift does.

i.e. it makes the number keep the same sign in a Two's Complement number system, which is what Pawn, C, C++, Java, etc... use.

However, that doesn't work in the other direction.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 11-21-2016 at 17:01.
Powerlord is offline