BigInteger.shiftRight

Returns a BigInteger whose value is {@code (this >> n)}. Sign extension is performed. The shift distance, {@code n}, may be negative, in which case this method performs a left shift. (Computes <code>floor(this / 2<sup>n</sup>)</code>.)

@param n shift distance, in bits. @return {@code this >> n} @see #shiftLeft

class BigInteger
shiftRight
(
int n
)

Meta