We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 405b68c commit ef1b8a7Copy full SHA for ef1b8a7
src/main/kotlin/unsigned/Long.kt
@@ -37,7 +37,7 @@ infix fun Long.ushr(b: Short) = (toBigInt() ushr b.toUInt()).toLong()
37
infix fun Long.udiv(b: Int) = (toBigInt() / b.toBigInt()).toLong()
38
infix fun Long.urem(b: Int) = (toBigInt() % b.toBigInt()).toLong()
39
infix fun Long.ucmp(b: Int) = toBigInt().compareTo(b.toBigInt())
40
-infix fun Long.ushr(b: Int) = (toBigInt() ushr b).toLong()
+// Long.ushr(b: Int) offered by Kotlin lib
41
42
infix fun Long.udiv(b: Long) = (toBigInt() / b.toBigInt()).toLong()
43
infix fun Long.urem(b: Long) = (toBigInt() % b.toBigInt()).toLong()
0 commit comments