← Docs
kotlin-stdlib / kotlin / java.math.BigInteger / shr

shr

JVM
1.2
infix fun BigInteger . shr ( n : Int ) : BigInteger
(source)

Shifts this value right by the n number of bits, filling the leftmost bits with copies of the sign bit.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .