Hacker News new | ask | show | jobs
by erikpukinskis 1326 days ago
What do the five >s and the , mean in this comment?
1 comments

>>> is bitwise right shift (fills in with zeros), >> is arithmetic right shift (fills in with the sign bit).
> >>> is bitwise right shift

Well, they're both bitwise right shifts, the ">>>" is specifically a logical or unsigned right shift.

Whoops yes I meant logical.