Spec-Zone.ru › Kotlin 2

div

kotlin-stdlib/kotlin/Float/div

Требования к платформе и версии: Common (1.0), JS (1.1), JVM (1.0)

expect operator fun div(other: Byte): Float
expect operator fun div(other: Short): Float
expect operator fun div(other: Int): Float
expect operator fun div(other: Long): Float
expect operator fun div(other: Float): Float
expect operator fun div(other: Double): Double

Делит это значение на другое значение.

Требования к платформе и версии: Native (1.3)

actual inline operator fun div(other: Byte): Float
actual inline operator fun div(other: Short): Float
actual inline operator fun div(other: Int): Float
actual inline operator fun div(other: Long): Float
actual operator external fun div(other: Float): Float
actual inline operator fun div(other: Double): Double

Делит это значение на другое значение.

Требования к платформе и версии: Wasm-JS (1.8), Wasm-WASI (1.8)

actual inline operator fun div(other: Byte): Float
actual inline operator fun div(other: Short): Float
actual inline operator fun div(other: Int): Float
actual inline operator fun div(other: Long): Float
actual operator fun div(other: Float): Float
actual inline operator fun div(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/div.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API