04.07.2011, 12:51
Quote:
You wont understand what happend, you will notice that the number went bigger and sometimes negativ
Open pawn-lang.pdf (that could take a while) There you will find from page 105 "Operators and expressions" a 6 page long explanation If there are still question than you can ask again or ****** |
Quote:
Originally Posted by Pawn guide
e1 << e2
results in the value of e1 shifted to the left by e2 bits; the rightmost bits are set to zero. There is no distinction between an arithmetic and a logical left shift |
if I do
10 << 2
so 10 will increase by 2 bits? how much would that be then?