@@ -5,40 +5,40 @@ import java.math.BigInteger
55 */
66
77infix fun Byte.udiv (b : Byte ) = (toUInt() / b.toUInt()).toByte()
8- infix fun Byte.umod (b : Byte ) = (toUInt() % b.toUInt()).toByte()
8+ infix fun Byte.urem (b : Byte ) = (toUInt() % b.toUInt()).toByte()
99infix fun Byte.ucmp (b : Byte ) = toUInt().compareTo(b.toUInt())
1010infix fun Byte.ushr (b : Byte ) = (toUInt() ushr b.toUInt()).toByte()
1111
1212infix fun Byte.udiv (b : Int ) = (toUInt() / b).toByte()
13- infix fun Byte.umod (b : Int ) = (toUInt() % b).toByte()
13+ infix fun Byte.urem (b : Int ) = (toUInt() % b).toByte()
1414infix fun Byte.ucmp (b : Int ) = toUInt().compareTo(b)
1515infix fun Byte.ushr (b : Int ) = (toUInt() ushr b).toByte()
1616
1717infix fun Short.udiv (b : Short ) = (toUInt() / b.toUInt()).toShort()
18- infix fun Short.umod (b : Short ) = (toUInt() % b.toUInt()).toShort()
18+ infix fun Short.urem (b : Short ) = (toUInt() % b.toUInt()).toShort()
1919infix fun Short.ucmp (b : Short ) = toUInt().compareTo(b.toUInt())
2020infix fun Short.ushr (b : Short ) = (toUInt() ushr b.toUInt()).toShort()
2121
2222infix fun Short.udiv (b : Int ) = (toUInt() / b).toShort()
23- infix fun Short.umod (b : Int ) = (toUInt() % b).toShort()
23+ infix fun Short.urem (b : Int ) = (toUInt() % b).toShort()
2424infix fun Short.ucmp (b : Int ) = toUInt().compareTo(b)
2525infix fun Short.ushr (b : Int ) = (toUInt() ushr b).toShort()
2626
2727infix fun Int.udiv (b : Byte ) = Integer .divideUnsigned(this , b.toUInt())
28- infix fun Int.umod (b : Byte ) = Integer .remainderUnsigned(this , b.toUInt())
28+ infix fun Int.urem (b : Byte ) = Integer .remainderUnsigned(this , b.toUInt())
2929infix fun Int.ucmp (b : Byte ) = Integer .compareUnsigned(this , b.toUInt())
3030// Int.ushl(b: Int) is already provided by Kotlin lib
3131infix fun Int.udiv (b : Short ) = Integer .divideUnsigned(this , b.toUInt())
32- infix fun Int.umod (b : Short ) = Integer .remainderUnsigned(this , b.toUInt())
32+ infix fun Int.urem (b : Short ) = Integer .remainderUnsigned(this , b.toUInt())
3333infix fun Int.ucmp (b : Short ) = Integer .compareUnsigned(this , b.toUInt())
3434// Int.ushl(b: Int) is already provided by Kotlin lib
3535infix fun Int.udiv (b : Int ) = Integer .divideUnsigned(this , b)
36- infix fun Int.umod (b : Int ) = Integer .remainderUnsigned(this , b)
36+ infix fun Int.urem (b : Int ) = Integer .remainderUnsigned(this , b)
3737infix fun Int.ucmp (b : Int ) = Integer .compareUnsigned(this , b)
3838// Int.ushl(b: Int) is already provided by Kotlin lib
3939
4040infix fun Long.udiv (b : Long ) = java.lang.Long .divideUnsigned(this , b)
41- infix fun Long.umod (b : Long ) = java.lang.Long .remainderUnsigned(this , b)
41+ infix fun Long.urem (b : Long ) = java.lang.Long .remainderUnsigned(this , b)
4242infix fun Long.ucmp (b : Long ) = java.lang.Long .compareUnsigned(this , b)
4343// Long.ushl(b: Long) is already provided by Kotlin lib
4444
0 commit comments