16b985b36e
Merge-request: KT-MR-14300 Merged-by: Artem Olkov <artem.olkov@jetbrains.com>
20 lines
463 B
Kotlin
Vendored
20 lines
463 B
Kotlin
Vendored
package org.kotlin
|
|
|
|
fun plus(a: Int, b: Int, c: Int) =
|
|
a + b + c
|
|
|
|
fun logicalOr(a: Boolean, b: Boolean) = a || b
|
|
|
|
fun xor(a: Boolean, b: Boolean) = a xor b
|
|
|
|
fun plus(a: UByte, b: UByte) = a + b
|
|
fun minus(a: UByte, b: UByte) = a - b
|
|
|
|
fun plus(a: UShort, b: UShort) = a + b
|
|
fun minus(a: UShort, b: UShort) = a - b
|
|
|
|
fun plus(a: UInt, b: UInt) = a + b
|
|
fun minus(a: UInt, b: UInt) = a - b
|
|
|
|
fun plus(a: ULong, b: ULong) = a + b
|
|
fun minus(a: ULong, b: ULong) = a - b |