plus
Требования к платформе и версии: Common (1.0), JVM (1.0)
expect operator fun plus(other: Byte): Long
expect operator fun plus(other: Short): Long
expect operator fun plus(other: Int): Long
expect operator fun plus(other: Long): Long
expect operator fun plus(other: Float): Float
expect operator fun plus(other: Double): Double
Прибавляет другое значение к этому значению.
Требования к платформе и версии: JS (1.1), Wasm-JS (1.8), Wasm-WASI (1.8)
actual inline operator fun plus(other: Byte): Long
actual inline operator fun plus(other: Short): Long
actual inline operator fun plus(other: Int): Long
actual operator fun plus(other: Long): Long
actual inline operator fun plus(other: Float): Float
actual inline operator fun plus(other: Double): Double
Прибавляет другое значение к этому значению.
Требования к платформе и версии: Native (1.3)
actual inline operator fun plus(other: Byte): Long
actual inline operator fun plus(other: Short): Long
actual inline operator fun plus(other: Int): Long
actual operator external fun plus(other: Long): Long
actual inline operator fun plus(other: Float): Float
actual inline operator fun plus(other: Double): Double
Прибавляет другое значение к этому значению.
© 2010–2026 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/plus.html