bit shifting, becomes zero when it shouldn't.... bug?
#2

I assume it does left shifting the result of the addition. Using parentheses fixes it:
pawn Код:
(95<<24) + (102<<16) + (109<<8) + 100
Reply


Messages In This Thread
bit shifting, becomes zero when it shouldn't.... bug? - by Yashas - 13.10.2016, 12:35
Re: bit shifting, becomes zero when it shouldn't.... bug? - by Konstantinos - 13.10.2016, 12:44
Re: bit shifting, becomes zero when it shouldn't.... bug? - by Dayrion - 13.10.2016, 12:56

Forum Jump:


Users browsing this thread: 1 Guest(s)