plus
Требования к платформе и версии: Common (1.0), JS (1.1), JVM (1.0)
expect operator fun plus(other: Byte): Float
expect operator fun plus(other: Short): Float
expect operator fun plus(other: Int): Float
expect operator fun plus(other: Long): Float
expect operator fun plus(other: Float): Float
expect operator fun plus(other: Double): Double
Прибавляет другое значение к этому значению.
Требования к платформе и версии: Native (1.3)
actual inline operator fun plus(other: Byte): Float
actual inline operator fun plus(other: Short): Float
actual inline operator fun plus(other: Int): Float
actual inline operator fun plus(other: Long): Float
actual operator external fun plus(other: Float): Float
actual inline operator fun plus(other: Double): Double
Прибавляет другое значение к этому значению.
Требования к платформе и версии: Wasm-JS (1.8), Wasm-WASI (1.8)
actual inline operator fun plus(other: Byte): Float
actual inline operator fun plus(other: Short): Float
actual inline operator fun plus(other: Int): Float
actual inline operator fun plus(other: Long): Float
actual 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/-float/plus.html