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
Seems like the examples are consistent with the underlying behavior of << in JavaScript and in C.
C at least gives a warning when it sees a integer literal over the sensible limit. Not sure the best course of action on this, but could be a breaking change if the "sensible" option is to check for shifts that would zero everything out and do that.
The functions
Bitwise.shiftLeftBy
,Bitwise.shiftRightBy
andBitwise.shiftRightZfBy
only use lowest 5 bits of the shift value.For example following two commands are equal:
This should be mentioned in documentation of these functions.
The text was updated successfully, but these errors were encountered: