shr

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
infix fun shr(bitCount: Int): ULong

Shifts this value right by the bitCount number of bits, filling the leftmost bits with zeros.

Note that only the six lowest-order bits of the bitCount are used as the shift distance. The shift distance actually used is therefore always in the range 0..63.

© 2010–2021 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/shr.html