tripleShift64 method

int tripleShift64(
  1. int count
)

Implementation

int tripleShift64(int count) {
  if (_isNative) {
    return (this >> count) & ~(-1 << (64 - count));
  } else {
    count &= 0x1f;
    if (this >= 0) {
      return (this >> count);
    } else {
      return (this >> count) ^
          ((0xFFFFFFFFFFFFFFFF) ^ ((1 << (64 - count)) - 1));
    }
  }
}