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
|`<<`| Left Shift |||`std::ops::Shl`|`std::ops::ShlAssign`|
200
-
|`>>`| Right Shift**|||`std::ops::Shr`|`std::ops::ShrAssign`|
200
+
|`>>`| Right Shift***|||`std::ops::Shr`|`std::ops::ShrAssign`|
201
201
202
202
\* Integer division rounds towards zero.
203
203
204
-
\*\* Arithmetic right shift on signed integer types, logical right shift on
204
+
\*\* Rust uses a remainder defined with [truncating division](https://en.wikipedia.org/wiki/Modulo_operation#Variants_of_the_definition). Given `remainder = dividend % divisor`, the remainder will have the same sign as the dividend.
205
+
206
+
\*\*\* Arithmetic right shift on signed integer types, logical right shift on
0 commit comments