operator >> method
Arithmetic (sign-propagating) right shift.
Implementation
Int64 operator >>(int n) {
final shift = n & 63;
final logical = _bits >> shift;
if (!isNegative || shift == 0) return Int64._(logical);
// Build a mask of `shift` leading one-bits by logically shifting an
// all-ones pattern and inverting — every step here is a plain Uint64
// shift/bitwise op, already web-safe.
final mask = ~(Uint64.max >> shift);
return Int64._(logical | mask);
}