Reputation: 1658
I found a operator Ive never see before in this code
d[(a + 64 >>> 9 << 4) + 14] = a;
I know the << operator is left shift. But really confuse >>>.
Can you help me explain this?
Upvotes: 2
Views: 80
Reputation: 1142
Zero fill right shift
Shifts right by pushing zeros in from the left, and let the rightmost bits fall off
Operation Result Same as Result
5 >>> 1 2 0101 >>> 1 0010
Upvotes: 5