Shift the bits of this integer to the right by shiftAmount
.
Shifting to the right makes the number smaller and drops the least significant bits, effectively doing an integer division by pow(2, shiftIndex)
.
It is an error if shiftAmount
is negative.
int operator >>(int shiftAmount);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-core/int/operator_shift_right.html