log2

actual fun log2(x: Double): Double (source)

Platform and version requirements: Kotlin 1.2

actual fun log2(x: Float): Float (source)

Platform and version requirements: Kotlin 1.2

Computes the binary logarithm (base 2) of the value x.

See Also

ln