You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Java-style: >> always means signed arithmetic right shift. >>> always means logical right shift. Note: Java does not have signed integer types.
C-style: >> means either arithmetic or logical right shift depending on the signedness of the LHS. Signedness-casts allow you to choose.
function-style (matches Add unordered float compares #706 resolution): >> is always arithmetic right shift and is only valid on signed LHS types. Function call syntax is needed for logical right shift.
Raised on #790, see there for more context.
I see 2.5 options here:
>>always means signed arithmetic right shift.>>>always means logical right shift. Note: Java does not have signed integer types.>>means either arithmetic or logical right shift depending on the signedness of the LHS. Signedness-casts allow you to choose.function-style (matches Add unordered float compares #706 resolution):>>is always arithmetic right shift and is only valid on signed LHS types. Function call syntax is needed for logical right shift.