Skip to content

Commit ef1b8a7

Browse files
committed
- removed Shadowed Long.ushr(Int)
1 parent 405b68c commit ef1b8a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/unsigned/Long.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ infix fun Long.ushr(b: Short) = (toBigInt() ushr b.toUInt()).toLong()
3737
infix fun Long.udiv(b: Int) = (toBigInt() / b.toBigInt()).toLong()
3838
infix fun Long.urem(b: Int) = (toBigInt() % b.toBigInt()).toLong()
3939
infix fun Long.ucmp(b: Int) = toBigInt().compareTo(b.toBigInt())
40-
infix fun Long.ushr(b: Int) = (toBigInt() ushr b).toLong()
40+
// Long.ushr(b: Int) offered by Kotlin lib
4141

4242
infix fun Long.udiv(b: Long) = (toBigInt() / b.toBigInt()).toLong()
4343
infix fun Long.urem(b: Long) = (toBigInt() % b.toBigInt()).toLong()

0 commit comments

Comments
 (0)